Difference between revisions of "/etc/promtail/config.yml"
Jump to navigation
Jump to search
Line 25: | Line 25: | ||
* <code>[[brew services start promtail]]</code> | * <code>[[brew services start promtail]]</code> | ||
* <code>[[promtail -check-syntax]]</code> | * <code>[[promtail -check-syntax]]</code> | ||
+ | * <code>[[promtail-local-config.yaml]]</code> | ||
== See also == | == See also == |
Revision as of 14:59, 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: