Updated on 2025-02-12 GMT+08:00

Ingesting ELB Logs to LTS

LTS can collect logs from ELB.

This function is available only in regions AF-Johannesburg, AP-Singapore, CN-Hong Kong, CN East-Shanghai1, LA-Mexico City1, LA-Mexico City2, LA-Santiago, and LA-Sao Paulo1.

Prerequisites

You have created and used a load balancer.

Constraints

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:

  1. Log in to the management console and choose Management & Deployment > Log Tank Service.
  2. Choose Log Ingestion > Ingestion Center in the navigation pane and click ELB (Elastic Load Balance).
  3. Select a log stream.

    1. 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.
    2. 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.
    3. Click Next: Configure ELB.

  4. Click Configure ELB.
  5. 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.

  6. Click Submit.