Skip to main content

Log

Overview

The Log function supports rapid query of log data by time, keywords, log level, source, and other conditions, helping you efficiently locate anomalies and analyze root causes. The platform displays results based on log data collected through "Log Configuration".

Use Cases

Through the log search function, you can view host process logs or Kubernetes logs to locate and analyze log issues.

Configuration Approach

  1. Determine which entities' logs need to be collected.
  2. Select and confirm the log collection scope.
  3. Configure multi-line merge parsing rules for logs.
  4. Search for relevant log data in Log Analytics.

Configuration Guide

In the Lite App "Settings", follow the path "Settings > Log Settings" to enter the log settings page. The page is divided into two tabs: "Log Source" and "Multiline Merging Rules".

Log Source: The scope of logs that can be collected. Supports searching for logs from three perspectives: "Host", "Process", or "Kubernetes".

Multiline Merging Rules: Rules that specify how to merge multiple lines of logs into a single log entry for parsing in specific log files. When logs are collected and reported, the system first matches these rules before storing them.

Tab PageItemDescription
Log SourceSearch BoxFilter and query by host IP address, process name, deployment environment, log path, and workload.
HostConfirm log scope by "Host > Process > Log Name".
ProcessConfirm log scope by "Process > Log Name > Host"
KubernetesConfirm log scope by "Cluster Name:workload".
Multi-line Merge RulesAddName: Log parsing rule name
Description: Main description information of the parsing rule
Rule: Regular expression for parsing logs
File: Specified log file path address
Sample Parse: Log example
Test Result: Log content output after parsing rules

Prerequisites

You need to install the Agent on specific hosts first to enable log collection capabilities.

Page AreaItemDescription
Lower Left of PageIndex FieldsCommon log dimensions on the platform. Query log data information by quickly selecting these index fields.
Upper Part of PageFilter ConditionsQuery conditions displayed come from dimension information of collected log data. You can filter log information you want to search through these dimensions.
Lower Right of PageLog List Search BoxProvides secondary search capability through log keywords based on log results filtered by filter conditions.
Operation AreaThere are two operation icons: Line Break and Settings.
+ Line Break: Click to automatically wrap log content and display all information.
+ Settings: You can set logs to display in 1, 3, or 5 lines. The system displays in 3 lines by default.
List Row Click EventClick a row to pop up a drawer panel on the right, displaying detailed log data.