Mise à jour du config.yaml de Promtail

This commit is contained in:
vagrant user 2025-12-31 14:27:42 +01:00
parent 13b212d06b
commit 27083ef19b

View File

@ -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]