Updated on 2024-02-28 GMT+08:00

Collecting Logs from CTS

LTS can collect logs from CTS.

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.

Procedure

Perform the following operations to configure CTS log ingestion:

  1. Log in to the LTS console.
  2. In the navigation pane on the left, choose Log Ingestion and and 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. Configure CTS.

    Click Configure CTS.
    1. On the CTS console, choose Tracker List in the navigation pane on the left.
    2. Click Create Tracker and configure parameters.
    3. Click Create.

  5. Click Next: Configure Log Stream.

    Table 1 Log stream parameters

    Parameter

    Description

    Auto Structure and Index

    If is enabled, the log stream is automatically structured and indexed. The structuring is based on the CTS template, and the indexing enables quick analysis for all parsed CTS fields.

  6. Click Submit.