Grafana Loki
Like Prometheus but for logs, horizontally scalable.
Open the official app on grafana.com
This tool is hosted by its maintainers. Click below to open grafana.com in a new tab — it's their official demo.
Browse data tools →What's next with Grafana Loki?
Choose how you want to get started.
Use it free
Open the official tool or demo — no account needed.
Self-host it
Run the open-source version on your own infrastructure.
What is Grafana Loki?
Grafana Loki is an open-source log aggregation system designed for storing and querying logs from applications and infrastructure. Developed by Grafana Labs and released under the AGPLv3 license, Loki is inspired by Prometheus but focuses on logs rather than metrics. It addresses the challenge of efficiently managing large volumes of unstructured log data by using a label-based indexing system instead of full-text indexing. This approach makes Loki highly scalable and cost-effective for organizations dealing with massive log datasets. The tool is widely used by developers, DevOps teams, and system administrators who need to monitor, troubleshoot, and analyze logs without the overhead of traditional log storage solutions.
How it works
Loki operates by collecting logs from various sources and organizing them into log streams, each identified by a set of labels. These labels are used to index the logs, enabling efficient querying without indexing the actual log content. The system uses a label-based indexing approach, which reduces storage overhead and simplifies query operations. Logs are stored in object storage systems, which allows for high durability and scalability, with the ability to handle petabyte-scale data storage.","The data flow in Loki begins with log ingestion through various clients or collectors, which send logs to Loki's ingestion endpoint. These logs are then stored in object storage, where they are organized into chunks. When a query is made, Loki retrieves the relevant chunks based on the labels and returns the logs to the user. This architecture ensures that Loki can scale horizontally, with each component designed for high availability and fault tolerance. The use of object storage also provides cost-effective storage solutions, as it is generally less expensive than traditional relational databases for large-scale log data."]}]},{ heading":"How to use Grafana Loki","subsections":[{"title":"Step-by-step guide","paragraphs":["1. Set up a Loki instance by deploying it using Docker, Kubernetes, or a cloud provider. 2. Configure log collectors such as Fluentd or Promtail to send logs to Loki's ingestion endpoint. 3. Use Grafana to visualize logs by creating dashboards and queries based on label-based filters. 4. Monitor and analyze logs through Grafana's interface, leveraging Loki's query capabilities for efficient log retrieval.","When setting up Loki, ensure that your log collectors are properly configured to send logs in the correct format. It is also important to choose an appropriate object storage backend for persistent log storage. Using Grafana's Loki datasource, you can create custom queries and dashboards to visualize log data. Regularly monitoring the system's perfor
How to use it
- 1Use the Grafana Loki tool to complete your task.
- 2Use the Grafana Loki tool to complete your task.
- 3Use the Grafana Loki tool to complete your task.
- 4Use the Grafana Loki tool to complete your task.
What it can do
- log aggregation
Use cases
Assumptions and limitations
Assumptions
- source: https://github.com/grafana/loki
- license: AGPL-3.0 — free to use
- privacy: Self-hosted — you control your data
Limitations
- Self-hosted — requires setup, maintenance, and your own infrastructure.
- Relies on an external source (github.com); availability depends on that service.
- Focused on the data tools category: Like Prometheus but for logs, horizontally scalable..
Understanding the result
Like Prometheus but for logs, horizontally scalable.
Tool details
- Clearly flagged when a network request is needed.
- No account, no sign-up, and no tracking of your content.
- Powered by (MIT).
- Built with
- (grafana/loki)
- License
- MIT
- Runs locally
- No — requires a network request
- Verification
- Not yet verified
- Input
- Query
- Output
- Text
Built with grafana/loki. OpenToolVault provides the discovery and browser interface while crediting the original project maintainers.
- Built with
- License
- MIT
Open-source project
OpenToolVault is an independent directory. We are not affiliated with or endorsed by this project.
References
- / — GitHub Repository
Upstream project · GitHub
- AGPL-3.0 License
Upstream project