Log Indexes¶
The system automatically archives log data into corresponding indexes based on the set filter conditions.
Create¶
- Go to the Create > Log Indexes page.
- Customize the index name.
- Add a description as needed.
- Add matching conditions.
- Configure data storage policies.
- Optionally select whether to match services for associating traces and logs.
- Confirm.
Index Rules
- Logs will be matched according to the order of index rules and will only enter the first matching index. The same log will not enter multiple indexes.
- The total number of indexes is limited to 6 (including the
defaultindex), meaning a maximum of 5 custom indexes can be created. - Deployment Plan users can customize the data storage policy duration here, ranging from 1d to 1,800d.
- If you choose to configure service matching rules, input strings that support wildcards (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 services.