How Do I Save Only One Copy of Logs After Multi-Account Log Aggregation Is Configured?
After Multi-Account Log Center is configured, logs in the source log group/stream will be aggregated to the target log group/stream, and LTS saves these logs in both accounts. When you create a source log group/stream and a target log group/stream, you set the log retention period. LTS retains logs based on this period. To save a copy of logs, perform the following operations.
Disabling Log Retention
- Log in to the LTS console using the account to which the source log group/stream belongs.
- On the Log Management page, locate the source log group/stream.
- Click in the Operation column of the source log stream. On the displayed page, disable Log Storage and Log Retention (Days).
Figure 1 Modifying a log stream
- Click OK. After Log Storage is disabled, logs will not be stored to LTS. This saves on index traffic and storage costs, but disables log search, analysis, alarm, consumption, and processing. You will only be allowed to use metric generation and log transfer functions.
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