From 27083ef19b777f3c347b25c0b12e1e0efd770159 Mon Sep 17 00:00:00 2001 From: vagrant user Date: Wed, 31 Dec 2025 14:27:42 +0100 Subject: [PATCH] =?UTF-8?q?Mise=20=C3=A0=20jour=20du=20config.yaml=20de=20?= =?UTF-8?q?Promtail?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- conteneur/configs/promtail/config.yaml | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) diff --git a/conteneur/configs/promtail/config.yaml b/conteneur/configs/promtail/config.yaml index 704d06e..7656816 100644 --- a/conteneur/configs/promtail/config.yaml +++ b/conteneur/configs/promtail/config.yaml @@ -14,17 +14,25 @@ scrape_configs: - targets: [localhost] labels: job: apache_access - host: archiweb_app + host: apache __path__: /var/log/apache2/access.log - + - job_name: apache_error static_configs: - targets: [localhost] labels: job: apache_error - host: archiweb_app + host: apache __path__: /var/log/apache2/error.log + - job_name: apache_other_vhosts + static_configs: + - targets: [localhost] + labels: + job: apache_other_vhosts + host: apache + __path__: /var/log/apache2/other_vhosts_access.log + - job_name: tomcat_catalina static_configs: - targets: [localhost]