Skip to content

Instantly share code, notes, and snippets.

@wardbekker
Created April 14, 2020 08:48
Show Gist options
  • Save wardbekker/9837e0128caa55f62ed6d9f09ae20f70 to your computer and use it in GitHub Desktop.
Save wardbekker/9837e0128caa55f62ed6d9f09ae20f70 to your computer and use it in GitHub Desktop.
Promtail example configuration for Loki
scrape_configs:
- job_name: system
pipeline_stages:
static_configs:
- targets:
- localhost
labels:
job: varlogs
host: ward_workstation
agent: promtail
__path__: /var/log/*.log
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment