All Products
Search
Document Center

Web Application Firewall:Hybrid cloud log delivery

Last Updated:Mar 31, 2026

In a hybrid cloud WAF deployment, security detection logs are generated on-premises and need to flow into your centralized monitoring stack. This document describes how to configure WAF to deliver those logs to a syslog server or Kafka cluster, and how to manage delivery settings per protected object.

Prerequisites

Before you begin, make sure you have:

  • A subscription WAF instance running the Enterprise or Ultimate edition with hybrid cloud mode enabled, and Simple Log Service (SLS) for WAF activated

  • The domain name added as a protected object (required if the domain is integrated via hybrid cloud - SDK integration mode). See Configure protected objects and protected object groups

  • The hybrid cloud WAF image upgraded to the latest version

Create a delivery configuration

A delivery configuration defines the target platform and connection settings. You can create multiple configurations and apply the same configuration to different protected objects for centralized log management.

  1. Log on to the WAF 3.0 console. In the top navigation bar, select the resource group and region. You can select Chinese Mainland or Outside Chinese Mainland.

  2. In the left-side navigation pane, choose Detection and Response > Log Service. In the upper-right corner, click Log Configuration.

  3. On the Default Field Settings tab, configure the default field settings for delivery. All fields in the logs are delivered. For the full list of log fields, see Log fields.

  4. Click the Delivery Settings tab.

    image

  5. In the upper-right corner, click Delivery Configurations. The Delivery Configurations panel opens. To create your first configuration, click Configure External Delivery.

  6. Select your target platform type, fill in the parameters for that platform, then click OK.

Important

After a delivery configuration is applied to a hybrid cloud protected object and external delivery is enabled, you cannot delete the configuration directly. Disable external delivery for the protected object first, then delete the configuration.

Syslog parameters

ParameterDescription
Configuration ItemThe name of the delivery configuration. Must be 1–100 characters. Allowed characters: letters, digits, periods (.), underscores (_), and hyphens (-). The name cannot be changed after creation.
Server IP Address/PortThe IP address and port of the syslog server that receives the logs.
RFCThe Request for Comments (RFC) standard that defines the syslog protocol.
ProtocolThe transport layer protocol. Valid values: TCP and UDP.

Kafka parameters

ParameterDescription
Configuration ItemThe name of the delivery configuration. Must be 1–100 characters. Allowed characters: letters, digits, periods (.), underscores (_), and hyphens (-). The name cannot be changed after creation.
Topic ID/NameThe ID or name of the Kafka topic to receive the logs.
Domain NameThe domain name whose logs you want to deliver. Make sure the domain name is reachable.
ProtocolThe security protocol for the connection. Options: PLAINTEXT (no encryption or authentication), SASL_PLAINTEXT (authentication only, no encryption), or SASL_SSL (encryption and authentication).
Compression TypeThe compression format for delivered logs. Valid values: none, gzip, zstd, lz4, and snappy.
Custom CAA custom Certificate Authority (CA) certificate for the connection.

Enable or disable delivery for a protected object

After you create a delivery configuration, apply it to specific protected objects.

  1. On the Delivery Settings page, find the protected object you want to manage.

  2. Click the image icon in the Status of External Delivery column to enable delivery for that object.

  3. To verify delivery is working, log on to your syslog or Kafka platform and confirm that logs are arriving in real time.

  4. To disable delivery, return to the Delivery Settings page and toggle off the switch in the Status of External Delivery column for the protected object.

Important

After you enable external delivery, only new logs are delivered. Historical logs are not backfilled.

Batch operations: To enable or disable delivery for multiple protected objects at once, select them in the list, click Batch Manage below the list, then select Enable External Delivery or Disable External Delivery. In a single batch operation, the same delivery configuration is applied to all selected objects.

Change the delivery configuration: To switch a protected object to a different delivery configuration, disable external delivery for that object, then re-enable it and select the new configuration.

Configure log fields for delivery

  • Default fields (all protected objects): On the Default Field Settings tab, configure field settings that apply to all delivery tasks. See Configure log fields to be delivered.

  • Custom fields (per protected object): In the Field of External Delivery column, click Field Settings for a specific protected object to override the default field settings for that object. For field descriptions, see Log fields.