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]