github.com/yankunsam/loki/v2@v2.6.3-0.20220817130409-389df5235c27/clients/cmd/promtail/promtail-gelf.yaml (about) 1 server: 2 http_listen_port: 9080 3 grpc_listen_port: 0 4 5 clients: 6 - url: http://localhost:3100/loki/api/v1/push 7 8 scrape_configs: 9 - job_name: gelf 10 gelf: 11 use_incoming_timestamp: false 12 labels: 13 job: gelf 14 relabel_configs: 15 - action: replace 16 source_labels: 17 - __gelf_message_level 18 target_label: level 19 - action: replace 20 source_labels: 21 - __gelf_message_host 22 target_label: host 23 - action: replace 24 source_labels: 25 - __gelf_message_facility 26 target_label: facility