faceted search
Filtering a large set of records by several fields at once, such as level=error and tenant=acme.
In more detail
Each field is indexed separately, so filters can be combined freely. Log search tools rely on it for quick triage.
Example
Structured JSON logs make fields such as tenant and correlationId searchable facets.Related terms
- structured logging — Writing each log entry as named fields, such as status, duration and request identifier, instead of a free-text sentence.
- centralized logging — Collecting logs from every service into one searchable system instead of reading each machine’s files.
Taught in
- Structured Logging & Correlation IDs: Context Stitching — Production Full-Stack Engineering