feat(logs): journald-Input — PVE/Nicht-Docker-Nodes lieferten bisher gar keine Logs

This commit is contained in:
mm committed 2026-09-13 22:16:46 +02:00
1 parent eea9f7fce4
commit e1da311488
3 files changed
+45 -2

No files matched your search

+2 -2
View File
@@ -17,7 +17,7 @@
url = "${PROM_URL}"
data_format = "prometheusremotewrite"
timeout = "10s"
namedrop = ["docker_log", "apache_log"]
namedrop = ["docker_log", "apache_log", "journal"]
[outputs.http.headers]
Content-Type = "application/x-protobuf"
Content-Encoding = "snappy"
@@ -29,7 +29,7 @@
domain = "${LOKI_URL}"
endpoint = "/loki/api/v1/push"
timeout = "10s"
namepass = ["docker_log", "apache_log"]
namepass = ["docker_log", "apache_log", "journal"]
sanitize_label_names = true
metric_name_label = ""
http_headers = { "Authorization" = "Bearer ${TELEGRAF_TOKEN}" }