Skip to content

Instantly share code, notes, and snippets.

@darox
Last active July 17, 2020 10:24
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save darox/5d982b365c1717474e034a385fb31204 to your computer and use it in GitHub Desktop.
Save darox/5d982b365c1717474e034a385fb31204 to your computer and use it in GitHub Desktop.
server:
http_listen_port: 9080
grpc_listen_port: 0
# Positions
positions:
filename: /tmp/positions.yaml
# Loki Server URL
clients:
- url: http://loki.damn.li/loki/api/v1/push
scrape_configs:
- job_name: nginx error log
static_configs:
- targets:
- srv-ubn-services-1.damn.li
labels:
job: nginx error log
host: srv-ubn-services-1.damn.li
__path__: /dockerdata/nginx/prod/log/error.log
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment