sysutils/loki 3.5.3 OpenBSD
like Prometheus, but for logs
- System
- OpenBSD
- Repository
- OpenBSD ports
- Maintainer
- The OpenBSD ports mailing-list <[email protected]>
- Categories
- sysutils, lang/go
Description
Loki is a log aggregation system inspired by Prometheus. It does not index the contents of the logs, but rather a set of labels for each log stream.
Compared to other log aggregation systems, Loki:
- does not do full text indexing on logs
- indexes and groups log streams using the same labels as Prometheus, allowing to seamlessly switch between metrics and logs using the same labels
- has native support in Grafana
A Loki-based logging stack consists of 3 components:
- promtail is the agent, responsible for gathering logs and sending them to Loki
- loki is the main server, responsible for storing logs and processing queries
- Grafana for querying and displaying the logs
Additionally 2 other components are provided:
- logcli to run LoqQL queries against a Loki server
- loki-canary to audit the log capturing performance of Loki
In the other systems
| System | Port | Version |
|---|---|---|
| OpenBSD | sysutils/loki | 3.5.3 |
| FreeBSD | sysutils/loki | 2.9.2_34 |
| DragonFly | devel/loki | 0.1.7 |
| MidnightBSD | sysutils/loki | 2.9.17 |
| HardenedBSD | sysutils/loki | 2.9.2_32 |
| GhostBSD | sysutils/loki | 2.9.2_32 |
Install
Binary package:
pkg_add loki
From the ports tree:
cd /usr/ports/sysutils/loki && make install
Dependencies
Build dependencies 1
No port depends on this one.