fake-log-generator/promtail-config.yml
2025-05-31 13:05:15 +02:00

19 lines
333 B
YAML

server:
http_listen_port: 9080
grpc_listen_port: 0
positions:
filename: /tmp/positions.yaml
clients:
- url: http://loki:3100/loki/api/v1/push
scrape_configs:
- job_name: fake_logs
static_configs:
- targets:
- localhost
labels:
job: fake_logs
__path__: /var/log/fake/*.log