Promtail

Overview

Homepage: https://grafana.com/oss/loki/
Changelog: https://github.com/grafana/loki/releases
Documentation: https://grafana.com/docs/loki/latest/send-data/promtail/
Get version: promtail –version
OMD default: disabled

Promtail is an agent which ships the contents of local logs to a private Grafana Loki instance. It is usually deployed to every machine that runs applications which need to be monitored. OMD shipps with scrape configs for Apache, mod-gearman, Grafana, InfluxDB, Livestatus, Loki, Naemon, OMD and Thruk Logfiles.

Directory Layout

Config File: <site>/etc/loki/promtail.yaml
Scrape-Config Directory: <site>/etc/loki/promtail.d
Logfiles: <site>/var/log/promtail.log

OMD Options & Vars

Option Value Description
LOKI_PROMTAIL on
off
Enable Promtail
LOKI_PORT 3101 TCP Port to listen on