Introduction
Log Tank Service (LTS) allows you to search for and dump logs. By setting access rules, you can map the logs of workloads from AOM to LTS for analysis.
What Is Mapping?
AOM logs exist in LTS in the form of a log stream, as shown in Figure 1. You can view raw logs in configured log collection paths on AOM, but cannot view the AOM log stream on LTS. You can create a mapping by adding an access rule on AOM. After the mapping is created, you can view and analyze AOM logs on LTS.
After you create log stream A and an access rule, the mapping from AOM to LTS is created. New AOM logs will be reported to log stream A. You can view all logs on AOM before and after the mapping. Historical logs in the AOM log stream will not be copied or migrated to log stream A, as shown in Figure 2.
Modifying a Mapping
If you modify a mapping, for example, change log stream A to log stream B, new logs will be reported to log stream B. You can view the content of AOM log stream and log stream B on AOM, but cannot view the content of log stream A, as shown in Figure 3.
Deleting a Mapping
When you delete an access rule or a mapped log stream, the corresponding mapping is deleted. New logs are reported only to the AOM log stream. In this case, you cannot view the content of log stream A, as shown in Figure 4. If the access rule is deleted but log stream A is not, you can still view the logs that have already been mapped on LTS.
Deleted access rules or mapped log streams cannot be recovered. Exercise caution when performing this operation.
Duplicate Mapping
If a workload or file is mapped to both log streams A and B, new logs will be reported to both of them. Duplicate logs exist on AOM. Therefore, duplicate mapping is not recommended.
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