Difference between revisions of "/etc/promtail/config.yml"
Jump to navigation
Jump to search
Line 3: | Line 3: | ||
server: | server: | ||
− | http_listen_port: 9080 | + | http_listen_port: [[9080]] |
[[grpc]]_listen_port: 0 | [[grpc]]_listen_port: 0 | ||
Revision as of 12:01, 19 December 2023
/etc/promtail/config.yml
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: system static_configs: - targets: - localhost labels: job: varlogs __path__: /var/log/*log
Related
See also
- Promtail,
/etc/promtail/config.yml, promtail [ -check-syntax, | -version | -help ]
Advertising: