Updated on 2024-09-19 GMT+08:00

Ingesting CTS Logs to LTS

LTS can collect logs from CTS.

Prerequisites

You have purchased and used a Huawei Cloud CTS instance.

Procedure

Perform the following operations to configure CTS log ingestion:

  1. Log in to the LTS console.
  2. Choose Log Ingestion > Ingestion Center in the navigation pane. Then, click CTS (Cloud Trace Service).
  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 CTS.

  4. Click Configure CTS. For details about the procedure and parameter settings, see the Cloud Trace Service User Guide.
  5. Click Next: Configure 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 CTS system template, and the indexing enables quick analysis for all parsed CTS fields. Enabling structuring and indexing is required for SQL analysis of CTS logs with visual charts.

  6. Click Submit