Like Prometheus, but for logs.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
loki/docs
Robert Fratto b74db24a00 docs: re-add docs from #654 6 years ago
..
canary docs: restore directory structure for logentry and canary 6 years ago
design-documents docs: general documentation rework 6 years ago
governance adding the beginnings of the release doc with steps, fixing a bug in the release_prepare.sh script and tweaking the output based on the current process. 6 years ago
logentry docs: add README.md to every folder 6 years ago
loki docs: re-add docs from #654 6 years ago
promtail docs: incorporate formatting fixes from #860 6 years ago
README.md docs: add README.md to every folder 6 years ago
logcli.md docs: general documentation rework 6 years ago
logo.png Add files via upload (#83) 7 years ago
logo_and_name.png Add files via upload (#83) 7 years ago
promtail.md docs: incorporate formatting fixes from #860 6 years ago
querying.md docs: re-add docs from #654 6 years ago
troubleshooting.md doc: loki + canary 6 years ago

README.md

Loki Logo
Like Prometheus, but for logs!

Grafana Loki is a set of components, that can be composed into a fully featured logging stack.

It builds around the idea of treating a single log line as-is. This means that instead of full-text indexing them, related logs are grouped using the same labels as in Prometheus. This is much more efficient and scales better.

Components

  • Loki: The main server component is called Loki. It is responsible for permanently storing the logs it is being shipped and it executes the LogQL queries from clients. Loki shares its high-level architecture with Cortex, a highly scalable Prometheus backend.
  • Promtail: To ship logs to a central place, an agent is required. Promtail is deployed to every node that should be monitored and sends the logs to Loki. It also does important task of pre-processing the log lines, including attaching labels to them for easier querying.
  • Grafana: The Explore feature of Grafana 6.0+ is the primary place of contact between a human and Loki. It is used for discovering and analyzing logs.

Alongside these main components, there are some other ones as well:

  • LogCLI: A command line interface to query logs and labels from Loki
  • Canary: An audit utility to analyze the log-capturing performance of Loki. Ingests data into Loki and immediately reads it back to check for latency and loss.
  • Docker Driver: A Docker log driver to ship logs captured by Docker directly to Loki, without the need of an agent.
  • Fluentd Plugin: An Fluentd output plugin, to use Fluentd for shipping logs into Loki