Using Visualization to Analyze Logs
Visualization support SQL query and analysis for structured log fields. After log structuring, wait about 1–2 minutes for SQL query and analysis.
Prerequisites
- The log stream has been structured. For details, see Log Structuring
- The component has been associated with a log group. For details, see Associating an LTS Log Group.
Using Visualization to Analyze Logs
- Log in to ServiceStage.
- Use either of the following methods to go to the Running Logs page.
- On the Application Management page, click the application to which the component belongs, click the target component in Component List, and choose O&M Configurations > Logs in the left navigation pane.
- On the Component Management page, click the target component and choose O&M Configurations > Logs in the left navigation pane.
- On the Running Logs page, select a log stream from the drop-down list.
- Select a time range in the upper right corner.
- From now: queries log data generated in a time range that ends with the current time, such as the previous 1, 5, or 15 minutes. For example, if the current time is 19:20:31 and 1 hour is selected as the relative time from now, the charts on the dashboard display the log data that is generated from 18:20:31 to 19:20:31.
- From last: queries log data generated in a time range that ends with the current time, such as the previous 1 or 15 minutes. For example, if the current time is 19:20:31 and 1 hour is selected as the relative time from last, the charts on the dashboard display the log data that is generated from 18:00:00 to 19:00:00.
- Specified: queries log data that is generated in a specified time range.
- Click the Visualization tab.
- Click the SQL query box and enter the SQL query statement.
According to the data returned by the SQL query, select a chart type to display the query result. For details, see LTS Visualization.
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