Difference between revisions of "~/brew/etc/promtail-local-config.yaml"

From wikieduonline
Jump to navigation Jump to search
(Created page with " {{Promtail}}")
 
Line 1: Line 1:
 +
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
  
  

Revision as of 15:07, 2 January 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



Promtail, /etc/promtail/config.yml, promtail [ -check-syntax, | -version | -help ]

Advertising: