Ingesting ELB Logs to LTS
LTS can collect logs from ELB.
Prerequisites
You have created and used a Huawei Cloud load balancer.
Restrictions
ELB access logs only record requests sent to layer 7 dedicated and shared load balancers. Layer 4 shared load balancing is not logged.
Configuring ELB Log Ingestion
Perform the following operations to configure ELB log ingestion:
- Log in to the LTS console.
- In the navigation pane, choose Log Ingestion. On the displayed page, click ELB (Elastic Load Balance).
- Select a log stream.
- Select a log group from the Log Group drop-down list. If there are no desired log groups, click Create Log Group to create one.
- Select a log stream from the Log Stream drop-down list. If there are no desired log streams, click Create Log Stream to create one.
- Click Next: Configure ELB.
- Click Configure ELB. For details, see Access Logging.
- Configure a log stream.
Table 1 Log stream parameters Parameter
Description
Auto Structure and Index
If this function is enabled, the structuring for the log stream is based on the ELB system template, and the indexing enables quick analysis for all parsed ELB fields. Enabling structuring and indexing is required for SQL analysis of ELB logs with visual charts.
Auto Add Tag log_type=elb_7layer_access
If this option is enabled, the tag log_type=elb_7layer_access is automatically added to the log stream, and the ELB dashboard template can then match this log stream.
Auto Create Chart
If this option is enabled, an ELB dashboard is automatically created for the log stream.
- Click Submit.
Feedback
Was this page helpful?
Provide feedbackThank 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