Difference between revisions of "~/brew/etc/promtail-local-config.yaml"
Jump to navigation
Jump to search
(4 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
server: | server: | ||
− | http_listen_port: 9080 | + | http_listen_port: [[9080]] |
− | + | [[grpc]]_listen_port: 0 | |
positions: | positions: | ||
Line 16: | Line 16: | ||
labels: | labels: | ||
job: varlogs | job: varlogs | ||
− | __path__: /var/log/*log | + | __path__: [[/var/log/]]*log |
+ | == Related == | ||
+ | * <code>[[promtail -check-syntax]]</code> | ||
+ | == See also == | ||
+ | * {{promtail}} | ||
− | + | [[Category:Promtail]] |
Latest revision as of 16:51, 9 April 2024
server: http_listen_port: 9080 grpc_listen_port: 0 positions: filename: /tmp/positions.yaml clients: - url: http://localhost: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: