Mise à jour du config.yaml de Promtail
This commit is contained in:
parent
13b212d06b
commit
27083ef19b
@ -14,17 +14,25 @@ scrape_configs:
|
|||||||
- targets: [localhost]
|
- targets: [localhost]
|
||||||
labels:
|
labels:
|
||||||
job: apache_access
|
job: apache_access
|
||||||
host: archiweb_app
|
host: apache
|
||||||
__path__: /var/log/apache2/access.log
|
__path__: /var/log/apache2/access.log
|
||||||
|
|
||||||
- job_name: apache_error
|
- job_name: apache_error
|
||||||
static_configs:
|
static_configs:
|
||||||
- targets: [localhost]
|
- targets: [localhost]
|
||||||
labels:
|
labels:
|
||||||
job: apache_error
|
job: apache_error
|
||||||
host: archiweb_app
|
host: apache
|
||||||
__path__: /var/log/apache2/error.log
|
__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
|
- job_name: tomcat_catalina
|
||||||
static_configs:
|
static_configs:
|
||||||
- targets: [localhost]
|
- targets: [localhost]
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user