Log Indexes¶
The system automatically archives log data into corresponding indexes based on set filter conditions. (❗️ By default, log indexes cannot be created. Please contact your customer manager to apply for this feature.)
Create¶
- Navigate to Create > Log Index page.
- Customize the index name.
- Add a description as needed.
- Add matching conditions.
- Configure the data storage policy.
- Configure Advanced Options as needed.
- Confirm.
Advanced Options¶
Service Matching:
- Used to associate APM data with application logs. You can choose whether to enable this function and configure service matching rules: supports fuzzy matching using wildcards, multiple matching values are separated by English commas.
Once enabled, when you view related logs on the Trace > Details page, the system will prioritize filtering and displaying index logs that match the configured service, facilitating quick location and analysis.
Index Rules¶
- Logs are matched according to the index rule sequence and will only enter the first matching index; the same log will not enter multiple indexes repeatedly.
- The maximum number of total indexes is 6 (including the
defaultindex), meaning a maximum of 5 custom indexes can be created. - Deployment Plan users can custom input the data storage policy duration here, range: 1d ~ 1,800d.
- If service matching rules are configured in the "Advanced Options", input supports wildcard strings (multiple values separated by commas). After configuration, when querying logs on the Trace Details page, the system will perform targeted retrieval based on these rules and prioritize returning log data that matches the service.
