Promtail | Grafana Labs
https://grafana.com/docs/loki/latest/clients/promtailPromtail is an agent which ships the contents of local logs to a private Grafana Loki instance or Grafana Cloud. It is usually deployed to every machine that has applications needed to be monitored. Pushes them to the Loki instance. Currently, Promtail can tail logs from two sources: local log files and the systemd journal (on AMD64 machines only).
Configuration | Grafana Labs
https://grafana.com/docs/loki/latest/clients/promtail/configurationConfiguring Promtail. Promtail is configured in a YAML file (usually referred to as config.yaml) which contains information on the Promtail server, where positions are stored, and how to scrape logs from files.. Printing Promtail Config At Runtime. If you pass Promtail the flag -print-config-stderr or -log-config-reverse-order, (or -print-config-stderr=true) Promtail will dump the entire ...