Advertisement
G0nz0uk

Promtail-config

Aug 14th, 2022
937
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
YAML 0.34 KB | None | 0 0
  1. server:
  2.   http_listen_port: 9080
  3.   grpc_listen_port: 0
  4.  
  5. positions:
  6.   filename: /tmp/positions.yaml
  7.  
  8. clients:
  9.   - url: 'http://localhost:3100/loki/api/v1/push'
  10.  
  11. scrape_configs:
  12.   - job_name: system
  13.     static_configs:
  14.       - targets:
  15.          - localhost
  16.         labels:
  17.           job: varlogs
  18.           __path__: /var/log/*log
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement