- Documentation
- Learning Hub
- Section 4 of 5 Apply labeling strategy to logs
Apply labeling strategy to logs
1
Labels tell you where
View slideLoki indexes only labels, so good log labels describe origin and context
2
Use dynamic labels sparingly
View slideThree conditions a dynamic label must meet, and filter expressions as the alternative
3
The decision framework
View slideWhen log data belongs in a label, in structured metadata, or in the log line
4
Audit what your clients send
View slideFind high-cardinality log labels with logcli and enforce policy at a gateway
5
Resources
View slideDocumentation and community links for log labeling