Skip to main content

Logging

Logs generated during system operation record service running status, request processing, error information, etc. By parsing and analyzing these log data, you can indirectly understand system performance.

Its value includes but is not limited to:

  • Performance Troubleshooting: Information recorded in logs such as request processing time and resource usage helps identify performance bottlenecks and anomalies. For example, analyzing response times of an API in logs can reveal performance issues.
  • Historical Performance Analysis: Logs provide historical data of system operation, allowing review and analysis of past performance to understand performance trends and provide basis for optimization.
  • Fault Recovery and Optimization: After system failures, logs are crucial for reconstructing failure scenarios and analyzing root causes. Through analysis of fault logs, problems can be quickly located and fixed, while related code and configurations can be optimized to prevent similar issues.
  • Security and Compliance Auditing: Logs record user operations and system access, which is significant for security incident investigation and compliance auditing. Through log analysis, potential security threats and violations can be discovered and preventive measures taken promptly.

Log List

The log list page displays all collected log data, helping users quickly understand deep relationships between different methods, error causes, and performance bottlenecks on the platform.

In the search box at the top, you can enter different tags and tag values to quickly filter target data, such as service name, hostname, etc.

The quick filter box on the left allows filtering target log data through multiple options. Default filters on the trace page include log level, host, service name, container name, and K8s namespace. Among them, log levels supported by default are Trace, Debug, Info, Warn, Error, Fatal.

The bar chart on the right shows the distribution of total logs within the selected time period.

The data list on the right shows the occurrence time, log level, and brief log information for each log entry within the selected time period by default.

Log Details

Click on a log entry in the list to open a drawer page showing log details.

By default, it displays log content and attribute information. Click the tabs above to switch between viewing log JSON format and log context content.