Alpha Chen 9 months ago
parent c82bfb319b
commit b825a76c10
Signed by: alpha
SSH Key Fingerprint: SHA256:3fOT8fiYQG/aK9ntivV3Bqtg8AYQ7q4nV6ZgihOA20g

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

Loading…
Cancel
Save