# Arcline OS — Promtail configuration (server edition) # Ships systemd journal + /var/log files to Loki. Zero telemetry: this only # talks to the local Loki instance on localhost. server: http_listen_port: 9080 grpc_listen_port: 0 positions: filename: /var/lib/promtail/positions.yaml clients: - url: http://localhost:3100/loki/api/v1/push scrape_configs: - job_name: systemd-journal journal: path: /var/log/journal max_age: 12h labels: job: systemd-journal relabel_configs: - source_labels: ["__journal__systemd_unit"] target_label: "unit" - job_name: varlogs static_configs: - targets: [localhost] labels: job: varlogs __path__: /var/log/**/*.log