Skip to content

Instantly share code, notes, and snippets.

@rverchere
Created June 29, 2022 21:16
Show Gist options
  • Save rverchere/27c60aadcb035730803f6223ae7e2dcc to your computer and use it in GitHub Desktop.
Save rverchere/27c60aadcb035730803f6223ae7e2dcc to your computer and use it in GitHub Desktop.
Promtail Custom Values 3
# Scrape config to read syslog file from node
config:
snippets:
extraScrapeConfigs: |
# Add an additional scrape config for syslog
- job_name: node-syslog
static_configs:
- targets:
- localhost
labels:
job: node/syslog
__path__: /var/log/host/syslog
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment