The O&M diagnostics workspace helps system administrators retrieve logs, engage in continuous dialogue with the diagnostic assistant to troubleshoot issues, and maintain O&M skill documentation. During troubleshooting, first search logs by conditions to locate anomalies, then combine cross-service evidence analysis with the diagnostic assistant to identify root causes.
Prerequisites
To use O&M logs and diagnostics, both of the following conditions must be met:
- The current account is a system administrator; regular users cannot see the entry or access the interface.
- An observability backend must be configured on the deployment side for error trace export; if not configured, a prompt is displayed on the page.
Feature entry
From the user menu, go to System Management and select the following feature:
Feature |
Purpose |
|---|---|
| O&M Logs | View the log file list, select to export or all-export with one click to a ZIP file; export error traces by time window. |
| O&M Diagnostics | Search logs by service, time, level, keyword, or trace ID; enable the diagnostic assistant for continuous dialogue-based troubleshooting |
Feature details
O&M logs
In O&M Logs, you can view the list of log files for the current node, including active logs and historically archived, rotated, and compressed files, sorted in descending order by modification time. You can filter the file list by start and end dates. After filtering, you can select all or export all within the current result range.
Export supports two methods: select several files to export, or click one-click all-export. Both are packaged as ZIP files for browser download. Files exceeding the size limit will be skipped and marked with the reason in the package result.
For error trace export, you can select a time window and maximum number of traces to package and download recent error traces for offline analysis. If no observability backend is configured, a prompt is displayed on the page. If there are no error traces within the selected time window, a message indicating no available samples is shown.
O&M logs are used for full-file forensics and do not support online search or keyword filtering. To search logs, use O&M diagnostics.
O&M diagnostics
Click Open Diagnostic Assistant to engage in continuous dialogue around the current fault. The assistant independently executes only the evidence collection steps (locate log files, search log content, read log segments) and draws conclusions based on the evidence.
When evidence collection alone is insufficient to locate the issue, the assistant proposes an unapproved Shell command, which it does not execute. Before execution, the page fully displays the command, working directory, and reason. The system administrator reviews and confirms each item individually. Only after approval is the command executed; rejection stops execution. The execution or rejection result is returned to the assistant, and the original diagnostic session automatically continues analysis without requiring another notification.
The assistant cannot directly execute Shell commands or bypass system administrator confirmation. Actions such as restarting services, modifying configurations, or cleaning up resources can only be performed after the assistant provides complete commands and the administrator reviews and confirms each item.
Diagnostic sessions are shared among system administrators connected to the same service process. A single troubleshooting session can be handed over within the service lifecycle. No history is retained after a service restart.
O&M skills
O&M skills are troubleshooting guide documents that the diagnostic assistant reads as needed. The system provides built-in read-only skills. System administrators can also upload, replace, or delete custom skills.
The entry is in the diagnostic assistant's dialogue interface: click the Manage Skills button next to the input area to open the skills panel. You can upload skill files (.md / .zip, up to 2 MiB per file), preview, replace, or delete them, and select a skill during dialogue to address an issue. Uploading skills does not grant execution permissions; skill scripts still require individual approval and execution.
Typical process
Locate a failure once by trace identifier: In O&M diagnostics, enter the Trace ID > View the cross-service timeline > Locate the failed service and time point > Open the diagnostic assistant to probe for root causes > When archiving is needed, switch to O&M logs to export relevant files.
Use the diagnostic assistant for continuous troubleshooting: Open the diagnostic assistant, describe the fault symptoms, let the assistant independently search logs for evidence, submit Shell commands when read-only access is insufficient, review each command and working directory item by item, confirm execution, and then let the assistant continue analysis based on the results and provide a conclusion.
Export log archive samples: Go to O&M Logs, filter the list by start and end dates, select files or all to export, and download the ZIP file for offline analysis. To obtain error samples, export error traces within a time window.
