Label-based indexing indexes selected labels or tags that describe log context instead of indexing the entire log text. A label might identify service foo or an error condition. section 2.3.3
This approach reduces the scalability and cost challenges associated with full-text indexing, while preserving a way to find relevant log lines through their context. Grafana Loki is a prominent example, inspired by Prometheus. section 2.3.3
Service and error context
A log line from service foo can carry labels identifying the service and an error condition. The index searches those labels, while the remaining log text stays outside the indexed set. section 2.3.3
Table 2.1 Overview of the costs of logs (view table figure)
Use the cost overview to compare indexing choices with instrumentation, agent, destination, storage, and retention considerations. section 2.3.3
