< Home

dataflow enable

Function

The dataflow enable command enables the dataflow service log output function.

The undo dataflow enable command enables the syslog service log output function.

The dataflow type enable command enables the output function of sending dataflow service logs.

The undo dataflow type enable command disables the dataflow log output function for certain types of service logs.

Format

dataflow enable

undo dataflow enable

dataflow type { traffic [ ipv4 | ipv6 ] | url | content | policy | audit | mail-filtering | av | ips | bwt | aapt | ddos } enable

undo dataflow type { traffic [ ipv4 | ipv6 ] | url | content | policy | audit | mail-filtering | av | ips | bwt | aapt | ddos } enable

Parameters

Parameter Description Value

traffic

Indicates traffic logs.

-

ipv4

Indicates IPv4 traffic logs.

-

ipv6

Indicates IPv6 traffic logs.

-

url

Indicates URL logs.

-

content

Indicates content logs.

-

policy

Indicates policy matching logs.

-

audit

Indicates audit logs.

-

mail-filtering

Indicates mail filtering logs.

-

av

Indicates antivirus logs.

-

ips

Indicates IPS logs.

-

bwt

Indicates Botnet, Trojan horse, and worm logs.

-

aapt

Indicates sandbox logs.

-

ddos

Indicates DDoS logs.

-

Views

System view

Default Level

2: Configuration level

Usage Guidelines

The dataflow service log output function is disabled by default, which means that the syslog output function is enabled by default.

This command cannot be executed in virtual systems.

The dataflow service log output function is controlled by the dataflow enable command. This function takes effect after this command is executed. After the dataflow enable command is executed, all dataflow service logs are sent to the log host. To specify that certain types of service logs are not sent, run the undo dataflow type command to specify the service logs that are not sent.

The syslog service log output function is controlled by the undo dataflow enable and info-center enable commands. This function takes effect only after both commands are executed. By default, all syslogs are sent to the log host. To specify that certain types of service logs are not sent, run the undo info-center source module-name command to specify the modules whose service logs are not sent.

Example

# Enable the function of sending policy matching logs in dataflow format.

<sysname> system-view
[sysname] dataflow type policy enable
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >