Loki is a log aggregation system designed for collecting, storing and querying logs from applications and infrastructure. It uses a label-based indexing approach inspired by Prometheus, allowing users to organise log streams without maintaining a conventional full-text index of every message.
The system is particularly useful for Kubernetes environments, distributed applications and other systems generating large volumes of operational logs. It stores compressed log data and supports queries that combine label selection with content filtering.
Loki is commonly deployed alongside Grafana for log exploration and visualisation. Logs can be collected through Grafana Alloy and other supported agents, giving administrators a central location for investigating events across services.
This is free and open source software.
Key Features
- Collect and store logs from applications, services and infrastructure.
- Index stream labels rather than the complete contents of every log message.
- Query log streams using LogQL, including label selectors and content filters.
- Extract structured fields from supported log formats during queries.
- Calculate metrics from log records using LogQL expressions.
- Support multitenant operation with logical separation between tenants.
- Store log data in supported object storage systems.
- Scale ingestion and querying through distributed deployment components.
- Provide a single-process deployment option for smaller installations.
- Support configurable retention policies and log deletion workflows.
- Stream incoming log messages for live investigation.
- Integrate with Grafana dashboards, visualisations and alerting.
- Receive log data from Grafana Alloy, OpenTelemetry-compatible collectors and other supported clients.
- Apply limits and controls to queries and ingestion workloads.
Website: github.com/grafana/loki
Support:
Developer: Grafana Labs and contributors
License: GNU Affero General Public License v3.0
Loki is written in Go. Learn Go with our recommended free books and free tutorials.
Related Software
| System Monitoring Tools | |
|---|---|
| Prometheus | Systems and service monitoring system |
| Nagios | Host and service monitor designed to inform you of network problems |
| OpenNMS | Enterprise grade network monitoring platform |
| LibreNMS | Fully featured network monitoring system |
| SigNoz | Monitor your applications and troubleshoot problems |
| ZABBIX | All-in-one 24x7 free monitoring solution |
| Jaeger | Distributed tracing system |
| Beszel | Lightweight server monitoring platform |
| Loki | Horizontally-scalable, highly-available, multi-tenant log aggregation system |
| Cockpit | Sysadmin login session in a web browser |
| Coroot | Observability platform for monitoring cloud-native apps |
| Monit | Utility for monitoring processes, files, directories and filesystems |
| HyperDX | Cloud-based production monitoring and debugging tool |
| NetXMS | Network and infrastructure monitoring and management system |
| FreeNATS | Automatic network status testing, alerting and reporting package |
| Cacti | Web-based frontend to RRDtool |
| Monitorix | Lightweight system monitoring tool |
| Icinga | Monitoring platform with a powerful configuration language |
| Checkmk | IT monitoring platform |
| Munin | Networked resource monitoring tool designed to be plug and play |
| Shinken | Flexible and scalable monitoring framework |
| openITCOCKPIT | Comprehensive infrastructure monitoring and management platform |
| Pandora FMS | Flexible monitoring system |
| Xymon | System for monitoring of hosts and networks |
| Mon | General-purpose problem alerting system |
Read our verdict in the software roundup.
| Log Analyzers | |
|---|---|
| Kibana | Browser based interface for logstash and ElasticSearch |
| logstash | Log processing, search, and analytics |
| OpenObserve | Cloud-native observability platform |
| GoAccess | Real-time web log analyzer and interactive viewer |
| Fluentd | Data collector for unified logging layer |
| Loki | Horizontally-scalable, highly-available, multi-tenant log aggregation system |
| Graphite | Enterprise scalable realtime graphing |
| SigNoz | Monitor your applications and troubleshoot problems |
| Apache Flume | Delivers data from applications to Apache Hadoop's HDFS |
| OpenTSDB | Scalable, distributed Time Series Database |
| VictoriaLogs | High-performance log database designed to ingest, store, and query log data |
| syslog-ng | Collects, filters, and routes logs across systems |
| CLP | Compresses logs for efficient search and analysis |
| Matomo SLA | Imports web server logs into Matomo for analysis |
Read our verdict in the software roundup.
LinuxLinks helps you discover the best free and open source software for Linux. Explore our extensive collection of recommended applications, including alternatives to popular proprietary software.We also publish software reviews, Linux tutorials, hardware reviews, free programming books and articles covering the wider open source community. Browse our Linux resources to discover more. Know a useful free and open source Linux application we haven't covered? Suggest a program for inclusion. Has your software been featured on LinuxLinks? Display one of our Featured on LinuxLinks badges on your website or GitHub README. |


Please read our Comment Policy before commenting.