Loki is a horizontally-scalable, highly-available, multi-tenant log aggregation system inspired by Prometheus. It is designed to be very cost effective and easy to operate. It does not index the contents of the logs, but rather a set of labels for each log stream. Unlike other logging systems, Loki is built around the idea of only indexing metadata about your logs: labels (just like Prometheus labels). Log data itself is then compressed and stored in chunks in object stores such as S3 or GCS, or even locally on the filesystem. A small index and highly compressed chunks simplifies the operation and significantly lowers the cost of Loki. Loki supports multi-tenancy so that data between tenants is completely separated. Multi-tenancy is achieved through a tenant ID (which is represented as an alphanumeric string). When multi-tenancy mode is disabled, all requests are internally given a tenant ID of “fake”.

Features

  • Loki is optimized for both running locally (or at small scale) and for scaling horizontally
  • Loki comes with a single process mode that runs all of the required microservices in one process
  • The single process mode is great for testing Loki or for running it at a small scale
  • For horizontal scalability, the microservices of Loki can be broken out into separate processes, allowing them to scale independently of each other
  • To ensure consistent query results, Loki uses Dynamo-style quorum consistency on reads and writes
  • In general, all lines pushed to Loki for a given stream (unique combination of labels) must have a newer timestamp than the line received before it

Project Samples

Project Activity

See All Activity >

Categories

Logging

License

Affero GNU Public License

Follow Grafana Loki

Grafana Loki Web Site

Other Useful Business Software
MongoDB Atlas runs apps anywhere Icon
MongoDB Atlas runs apps anywhere

Deploy in 115+ regions with the modern database for every enterprise.

MongoDB Atlas gives you the freedom to build and run modern applications anywhere—across AWS, Azure, and Google Cloud. With global availability in over 115 regions, Atlas lets you deploy close to your users, meet compliance needs, and scale with confidence across any geography.
Start Free
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of Grafana Loki!

Additional Project Details

Operating Systems

Linux

Programming Language

Go

Related Categories

Go Logging Software

Registered

2021-05-05