Lokihaakemistot
Lokihaakemistot, often translated as "loki lookups" or "loki queries," refers to a process of retrieving specific log data within the Loki log aggregation system. Loki is designed to store logs efficiently by indexing metadata rather than the entire log content, allowing for fast and resource-friendly querying. When a user performs a lokihaakemisto, they specify a set of labels to filter the log streams. These labels act as key-value pairs, enabling users to pinpoint logs based on sources, applications, environments, or any other metadata attached during log ingestion.
The query language used in Loki, LogQL, is a powerful tool for constructing these lokihaakemistot. It allows
The efficiency of lokihaakemistot is a core design principle of Loki. By indexing only metadata, Loki avoids