Loki

Overview

Homepage:https://grafana.com/oss/loki/
Changelog:https://github.com/grafana/loki/releases
Documentation:https://grafana.com/docs/loki/latest/?pg=oss-loki&plcmt=quick-links
Get version:/<site>/prometheus/status
OMD default:disabled
OMD URL:/<site>/prometheus

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.

Directory Layout

Config Directory:<site>/etc/loki
Logfiles:<site>/var/log/loki.log
Data Directory:<site>/var/loki

OMD Options & Vars

OptionValueDescription
LOKIon
off
Enable Loki
LOKI_RETENTIONvariableAmount of time (1w, 7d, 168h) Loki will keep data. Data older than this will be deleted automatically
LOKI_HTTP_PORT3100TCP Port to listen on