Compute
Elastic Cloud Server
Huawei Cloud Flexus
Bare Metal Server
Auto Scaling
Image Management Service
Dedicated Host
FunctionGraph
Cloud Phone Host
Huawei Cloud EulerOS
Networking
Virtual Private Cloud
Elastic IP
Elastic Load Balance
NAT Gateway
Direct Connect
Virtual Private Network
VPC Endpoint
Cloud Connect
Enterprise Router
Enterprise Switch
Global Accelerator
Management & Governance
Cloud Eye
Identity and Access Management
Cloud Trace Service
Resource Formation Service
Tag Management Service
Log Tank Service
Config
OneAccess
Resource Access Manager
Simple Message Notification
Application Performance Management
Application Operations Management
Organizations
Optimization Advisor
IAM Identity Center
Cloud Operations Center
Resource Governance Center
Migration
Server Migration Service
Object Storage Migration Service
Cloud Data Migration
Migration Center
Cloud Ecosystem
KooGallery
Partner Center
User Support
My Account
Billing Center
Cost Center
Resource Center
Enterprise Management
Service Tickets
HUAWEI CLOUD (International) FAQs
ICP Filing
Support Plans
My Credentials
Customer Operation Capabilities
Partner Support Plans
Professional Services
Analytics
MapReduce Service
Data Lake Insight
CloudTable Service
Cloud Search Service
Data Lake Visualization
Data Ingestion Service
GaussDB(DWS)
DataArts Studio
Data Lake Factory
DataArts Lake Formation
IoT
IoT Device Access
Others
Product Pricing Details
System Permissions
Console Quick Start
Common FAQs
Instructions for Associating with a HUAWEI CLOUD Partner
Message Center
Security & Compliance
Security Technologies and Applications
Web Application Firewall
Host Security Service
Cloud Firewall
SecMaster
Anti-DDoS Service
Data Encryption Workshop
Database Security Service
Cloud Bastion Host
Data Security Center
Cloud Certificate Manager
Edge Security
Managed Threat Detection
Blockchain
Blockchain Service
Web3 Node Engine Service
Media Services
Media Processing Center
Video On Demand
Live
SparkRTC
MetaStudio
Storage
Object Storage Service
Elastic Volume Service
Cloud Backup and Recovery
Storage Disaster Recovery Service
Scalable File Service Turbo
Scalable File Service
Volume Backup Service
Cloud Server Backup Service
Data Express Service
Dedicated Distributed Storage Service
Containers
Cloud Container Engine
SoftWare Repository for Container
Application Service Mesh
Ubiquitous Cloud Native Service
Cloud Container Instance
Databases
Relational Database Service
Document Database Service
Data Admin Service
Data Replication Service
GeminiDB
GaussDB
Distributed Database Middleware
Database and Application Migration UGO
TaurusDB
Middleware
Distributed Cache Service
API Gateway
Distributed Message Service for Kafka
Distributed Message Service for RabbitMQ
Distributed Message Service for RocketMQ
Cloud Service Engine
Multi-Site High Availability Service
EventGrid
Dedicated Cloud
Dedicated Computing Cluster
Business Applications
Workspace
ROMA Connect
Message & SMS
Domain Name Service
Edge Data Center Management
Meeting
AI
Face Recognition Service
Graph Engine Service
Content Moderation
Image Recognition
Optical Character Recognition
ModelArts
ImageSearch
Conversational Bot Service
Speech Interaction Service
Huawei HiLens
Video Intelligent Analysis Service
Developer Tools
SDK Developer Guide
API Request Signing Guide
Terraform
Koo Command Line Interface
Content Delivery & Edge Computing
Content Delivery Network
Intelligent EdgeFabric
CloudPond
Intelligent EdgeCloud
Solutions
SAP Cloud
High Performance Computing
Developer Services
ServiceStage
CodeArts
CodeArts PerfTest
CodeArts Req
CodeArts Pipeline
CodeArts Build
CodeArts Deploy
CodeArts Artifact
CodeArts TestPlan
CodeArts Check
CodeArts Repo
Cloud Application Engine
MacroVerse aPaaS
KooMessage
KooPhone
KooDrive

Managing Logs

Updated on 2025-03-04 GMT+08:00

After you authorize EdgeSec to access Log Tank Service (LTS), you can use the EdgeSec logs recorded by LTS for quick and efficient real-time analysis, device O&M management, and analysis of service trends.

LTS analyzes and processes a large number of logs. It enables you to process logs in real-time, efficiently, and securely. Logs can be stored in LTS for seven days by default but you can configure LTS for up to 30 days if needed. Logs earlier than 30 days are automatically deleted. However, you can configure LTS to dump those logs to an Object Storage Service (OBS) bucket or enable Data Ingestion Service (DIS) for long-term storage.

NOTE:
  • On the LTS console, you can view logs for the last 30 days and download logs for the last five days.
  • LTS is billed by traffic and is billed separately from EdgeSec. For details about LTS pricing, see Price Calculator.
  • If you have enabled enterprise projects, ensure that you have all operation permissions for the project where your EdgeSec instance locates. Then, you can select the project from the Enterprise Project drop-down list and configure EdgeSec logging.

Prerequisites

A protected website has been added. For details, see Adding a Website to EdgeSec.

Enabling LTS for EdgeSec Protection Event Logging

  1. Log in to the management console.
  2. Click in the upper left corner of the page and choose Content Delivery & Edge Computing > CDN and Security.
  3. Select the configuration path as required.

    Configure EdgeSec logs. In the navigation pane, choose Edge SecurityEdge Security > Statistic. On the Statistic page that is displayed, click the Configure Logs tab.

  4. Enable the all log recording and select a log group or click LTS. Table 1 describes the related parameters. Go to the LTS console to create a log group and log stream. For details, see Creating Log Groups and Log Streams.

    Table 1 Log parameters

    Parameter

    Description

    Example Value

    Log Group

    Select a log group or click View Log Group to go to the LTS console and create a log group.

    lts-group-qhse

    HTTP Attack Log

    If this option is enabled, select a log stream or click View Log Stream to go to the LTS console and create a log stream.

    lts-topic-8dvf

    DDoS Attack Log

    If this option is enabled, select a log stream or click View Log Stream to go to the LTS console and create a log stream.

    lts-topic-8n7I

  5. Click OK.

Viewing Protection Logs on LTS

  1. Log in to the management console.
  2. Click in the upper left corner of the page and choose Management & Deployment > Log Tank Service.
  3. In the log group list, click to expand the log group (for example, lts-group-EdgeSec).
  4. Viewing attack logs

    1. In the log stream list, click the name of the configured attack log stream.
      Figure 1 Log stream name configured for attack logs
    2. View attack logs.

Fields in HTTP attack logs

Field

Type

Description

Remarks

id

string

Attack event ID.

-

geo

string

Geolocation

c indicates the country, and r indicates the province.

sip

string

Attacking source IP address

-

attackTime

string

Attack time

-

tenantId

string

Tenant ID

-

host

string

Domain name

-

hostId

string

Domain name ID

-

enterpriseProjectId

string

Enterprise project ID

-

projectId

string

Project ID of the region where the tenant is located

-

siteSn

string

Site name

-

rule

string

Rule ID

-

ruleName

sting

Rule name

-

method

string

Attack request method

-

url

string

Attack request URL

-

requestHeader

string

Attack request header

-

requestParams

string

Attack request parameters

-

cookie

string

Attack request cookie

-

requestBody

string

Attack request body

-

status

string

Attack response code

When functioning as a web server, the Nginx processes client requests and returns this response code.

responseHeaders

string

Attack response header

-

responseBody

string

Attack response body

-

responseSize

long

Attack response body size

-

upstreamStatus

string

Attack response code of the upstream server

Response code returned by the upstream server when the Nginx functions as a reverse proxy server which forwards a client request to the upstream server.

upstreamResponseTime

string

Attack response time

-

processTime

string

Attack processing time

-

attackCount

long

Number of attacks

-

attackCategory

string

Attack type

-

attack

string

Attack details

The key and value of attack indicate the attack type and number of attacks, respectively. The key and value of action indicate the protection action and number of actions, respectively.

maliciousData

string

Malicious data that triggers the rule

-

maliciousLocation

string

Malicious data location

-

policyId

string

Policy ID

-

Fields in DDoS attack logs

Field

Type

Description

Remarks

id

string

Attacked target IP address

-

attackTime

long

Attack time

-

tenantId

string

Tenant ID

-

siteId

string

Site ID

-

attackType

string

Attack source type

-

avgBps

long

Average attack traffic bandwidth

-

avgPps

long

Average number of forwarded attack data packets

-

maxBps

long

Maximum attack traffic bandwidth

-

maxPps

long

Maximum number of forwarded attack data packets

-

Log Tag Fields

Field

Type

Description

Remarks

_resource_id

string

Resource ID

Attack source. Currently, HTTP and DDoS are supported.

_resource_name

string

Resource name.

Log type. Currently, only attack logs are supported.

_service_type

string

Service type.

Cloud service type. The value is EdgeSec.

We use cookies to improve our site and your experience. By continuing to browse our site you accept our cookie policy. Find out more

Feedback

Feedback

Feedback

0/500

Selected Content

Submit selected content with the feedback