From 1b28894e97bc3675f4687f92b989cd8194b08e5e Mon Sep 17 00:00:00 2001 From: mezned Date: Sun, 10 Nov 2024 21:59:34 +0100 Subject: [PATCH] Update promtail/rootfs/etc/promtail/default-scrape-config.yaml --- .../etc/promtail/default-scrape-config.yaml | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/promtail/rootfs/etc/promtail/default-scrape-config.yaml b/promtail/rootfs/etc/promtail/default-scrape-config.yaml index 93224eb..8520214 100644 --- a/promtail/rootfs/etc/promtail/default-scrape-config.yaml +++ b/promtail/rootfs/etc/promtail/default-scrape-config.yaml @@ -1,9 +1,9 @@ --- -job_name: home_assistant_logs - static_configs: - - targets: - - localhost # Target for the logs, can be anything since it's just a label - labels: - job: home_assistant # Job label for your logs in Loki - host: home_assistant # Optional label for host, useful if running multiple Home Assistant instances - __path__: /config/home-assistant.log # Path to Home Assistant log file \ No newline at end of file +- job_name: home_assistant_logs + static_configs: + - targets: + - localhost # Target for the logs, can be anything since it's just a label + labels: + job: home_assistant # Job label for your logs in Loki + host: home_assistant # Optional label for host, useful if running multiple Home Assistant instances + __path__: /config/home-assistant.log # Path to Home Assistant log file \ No newline at end of file