|
|
@ -99,14 +99,14 @@
|
|
|
|
job: varlogs
|
|
|
|
job: varlogs
|
|
|
|
__path__: /var/log/*.log
|
|
|
|
__path__: /var/log/*.log
|
|
|
|
__path_exclude__: /var/log/syslog
|
|
|
|
__path_exclude__: /var/log/syslog
|
|
|
|
# - job_name: docker
|
|
|
|
- job_name: docker
|
|
|
|
# docker_sd_configs:
|
|
|
|
docker_sd_configs:
|
|
|
|
# - host: unix:///var/run/docker.sock
|
|
|
|
- host: unix:///var/run/docker.sock
|
|
|
|
# refresh_interval: 5s
|
|
|
|
refresh_interval: 5s
|
|
|
|
# relabel_configs:
|
|
|
|
relabel_configs:
|
|
|
|
# - source_labels: ['__meta_docker_container_name']
|
|
|
|
- source_labels: ['__meta_docker_container_name']
|
|
|
|
# regex: '/(.*)'
|
|
|
|
regex: '/(.*)'
|
|
|
|
# target_label: 'container'
|
|
|
|
target_label: 'container'
|
|
|
|
- job_name: syslog
|
|
|
|
- job_name: syslog
|
|
|
|
syslog:
|
|
|
|
syslog:
|
|
|
|
listen_address: 0.0.0.0:514
|
|
|
|
listen_address: 0.0.0.0:514
|
|
|
|