[...] scrape_configs: - job_name: system static_configs: - targets: [ localhost ] labels: job: varlogs host: __path__: /var/log/{*log,dmesg,mail.{err,info,warn},messages} [...]