Viewing Logs in CTS
When you enable CTS, operations performed on Application Orchestration Service (AOS) resources begin to be recorded. On the CTS console, you can query operation records from the last 7 days by performing the following operations.
Procedure
- Log in to the CTS console.
- In the left navigation pane, click Trace List.
- Filter the desired operation events.
The trace list supports four filter types:
- Trace Source, Resource Type, and Search By
Select the search criteria from the drop-down lists. For example, select AOS from the Trace Source drop-down list box.
From the Search By drop-down list, specify a trace name. From the Search By drop-down list, select or enter a specific resource ID. From the Search By drop-down list, select or enter a specific resource name.
- Trace Status: Select one of All trace statuses, Normal, Warning, and Incident.
- Operator: Select a specific operator (at the user level rather than the account level).
- Start Date and End Date: You can specify a time period to query traces.
- Trace Source, Resource Type, and Search By
- On the left of the to-be-queried record, click to view details.
- Click View Trace in the Operation column. On the displayed View Trace dialog box, the trace structure details are displayed.
{ "service_type": "AOS", "user": { "domain": { "name": "***", "id": "6c389820d2fd46489c8987e5eb2675cc" }, "id": "19652d0b0ff1407a9432b85b9e12f9eb", "name": "***" }, "time": "2018/04/26 16:16:53 GMT+08:00", "code": 200, "resource_type": "AOS", "resource_name": "Stack", "resource_id": "19652d0b0ff1407a9432b85b9e12f9eb", "source_ip": "192.168.12.22", "trace_name": "PreviewStack", "trace_type": "ApiCall", "request": {}, "api_version": "3.0.0", "message": "Preview stack successfully. Project id: 1e19d41bb1f24b5da4a98107607aac0f, stack name: jhgdjh, template id: cea9ee29-3b39-f7be-d093-aff126b250e8, cluster id: . ", "record_time": "2018/04/26 16:16:53 GMT+08:00", "trace_id": "2da40c60-492a-11e8-a065-286ed488cbe3", "trace_status": "warning" }
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