Ingesting CTS Logs to LTS
LTS can collect logs from CTS.
Prerequisites
You have purchased and used a Huawei Cloud CTS instance.
Configuring CTS Log Ingestion in LTS
Perform the following operations to configure CTS log ingestion:
CTS logs ingested to LTS are retained on the LTS console for 30 days by default. You can specify a log retention period ranging from 1 to 365 days when creating a log group. For details, see Managing Log Groups.
- Log in to the LTS console.
- Choose Log Ingestion > Ingestion Center in the navigation pane. Then, click CTS (Cloud Trace Service).
- 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 CTS.
- Click Configure CTS. For details about the procedure and parameter settings, see the Cloud Trace Service User Guide.
- 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.
- 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