github.com/yankunsam/loki/v2@v2.6.3-0.20220817130409-389df5235c27/clients/cmd/promtail/promtail-cloudflare.yaml (about)

     1  server:
     2    http_listen_port: 9080
     3    grpc_listen_port: 0
     4  
     5  positions:
     6    filename: /tmp/positions.yaml
     7  
     8  clients:
     9    - url: http://localhost:3100/loki/api/v1/push
    10  
    11  scrape_configs:
    12  - job_name: cloudflare
    13    cloudflare:
    14      api_token: REDACTED
    15      zone_id: REDACTED
    16      labels:
    17        job: cloudflare