Difference between revisions of "/etc/promtail/config.yml"
Jump to navigation
Jump to search
(3 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
[[/etc/promtail/]]config.yml | [[/etc/promtail/]]config.yml | ||
+ | [[~/brew/etc/promtail-local-config.yaml]] | ||
server: | server: | ||
Line 23: | Line 24: | ||
== Related == | == Related == | ||
* [[Loki]] | * [[Loki]] | ||
− | * [[brew services start promtail]] | + | * <code>[[brew services start promtail]]</code> |
− | * [[promtail -check-syntax]] | + | * <code>[[promtail -check-syntax]]</code> |
+ | * <code>[[promtail-local-config.yaml]]</code> | ||
== See also == | == See also == |
Latest revision as of 16:50, 9 April 2024
/etc/promtail/config.yml ~/brew/etc/promtail-local-config.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: system static_configs: - targets: - localhost labels: job: varlogs __path__: /var/log/*log
Related[edit]
See also[edit]
- Promtail,
/etc/promtail/config.yml, promtail [ -check-syntax, | -version | -help ]
Advertising: