Log Field Description
CFW generates attack event logs, access control logs, and traffic logs, and supports reporting this log data to Log Tank Service (LTS). You can view and analyze these logs on the LTS console for security event investigation, traffic auditing, and compliance checks.
- Attack event logs: record details about attacks detected by CFW, including the attack source and destination IP addresses, ports, protocol types, attack types, threat levels, and protection actions. These logs help you detect security threats in a timely manner.
- Access control logs: record details about the traffic that matches access control rules, including the rule IDs, source and destination IP addresses, ports, and protection actions. These logs help you track how your access control policies take effect.
- Traffic logs: record details about the traffic inspected by CFW, including the source and destination IP addresses, ports, protocol types, number of bytes, number of packets, and flow duration. These logs help you understand the network traffic distribution and access behavior.
This section describes the field definitions of various logs ingested into LTS from CFW, helping you interpret log data and perform data analysis.
Attack Event Logs
| Field | Type | Description |
|---|---|---|
| src_ip | string | Source IP address |
| src_port | string | Source port number |
| dst_ip | string | Destination IP address |
| dst_port | string | Destination port number |
| protocol | string | Protocol type |
| app | string | Application type |
| src_region_name | string | Source region name |
| src_region_id | string | Source region ID |
| dst_region_name | string | Destination region name |
| dst_region_id | string | Destination region ID |
| log_type | string | Log type.
|
| vsys | long | Firewall protection direction.
|
| direction | string | Traffic direction.
|
| action | string | Response action of the firewall.
|
| packet | string | Original data packet of the attack log. NOTE: The encoding format is Base64. |
| attack_rule | string | Defense rule that works for the detected attack |
| attack_rule_id | string | ID of the defense rule that works for the detected attack |
| attack_type | string | Type of the attack.
|
| level | string | Level of detected threats.
|
| source | string | Defense for the detected attack.
|
| event_time | long | Attack time |
Access Control Logs
| Field | Type | Description |
|---|---|---|
| rule_id | string | ID of the rule that is triggered |
| src_ip | string | Source IP address |
| src_port | string | Source port number |
| dst_ip | string | Destination IP address |
| dst_port | string | Destination port number |
| src_region_name | string | Source region name |
| src_region_id | string | Source region ID |
| dst_region_name | string | Destination region name |
| dst_region_id | string | Destination region ID |
| log_type | string | Log type.
|
| dst_host | string | Destination domain name |
| vsys | long | Firewall protection direction.
|
| protocol | string | Protocol type |
| app | string | Application type |
| direction | string | Traffic direction.
|
| action | string | Response action of the firewall.
|
| hit_time | long | Time of an access |
Traffic Logs
| Field | Type | Description |
|---|---|---|
| src_ip | string | Source IP address |
| src_port | string | Source port number |
| dst_ip | string | Destination IP address |
| dst_port | string | Destination port number |
| protocol | string | Protocol type |
| app | string | Application type |
| direction | string | Traffic direction.
|
| action | string | Response action of the firewall.
|
| src_region_name | string | Source region name |
| src_region_id | string | Source region ID |
| src_vpc | string | ID of the VPC that the source IP address belongs to |
| dst_region_name | string | Destination region name |
| dst_region_id | string | Destination region ID |
| dst_vpc | string | ID of the VPC that the destination IP address belongs to |
| log_type | string | Log type.
|
| dst_host | string | Destination domain name |
| vsys | long | Firewall protection direction.
|
| hit_time | long | Time of an access |
| to_s_bytes | long | Number of bytes sent from the client to the server |
| to_c_bytes | long | Number of bytes sent from the server to the client |
| to_s_pkts | long | Number of packets sent from the client to the server |
| to_c_pkts | long | Number of packets sent from the server to the client |
| bytes | long | Number of bytes of the protected traffic |
| packets | long | Number of packets in the protected traffic |
| start_time | long | Stream start time |
| end_time | long | Stream end time |
References
- Configuring Log Ingestion to LTS: describes how to configure CFW to interconnect with LTS.
- What Is Log Tank Service?: describes the basic functions and application scenarios of LTS.
- Log Search and Analysis: describes how to search for and analyze collected logs.
What is your overall rating for this page?
Thank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot