27 lines
884 B
YAML
27 lines
884 B
YAML
server:
|
|
disable: true
|
|
|
|
clients:
|
|
- url: "http://loki.routinginfo.internal:7553/loki/api/v1/push"
|
|
|
|
positions:
|
|
filename: "/tmp/positions.yaml"
|
|
|
|
scrape_configs:
|
|
- job_name: "rsyslog"
|
|
syslog:
|
|
listen_address: localhost:7590
|
|
use_incoming_timestamp: true
|
|
label_structured_data: yes
|
|
labels:
|
|
job: "rsyslog"
|
|
relabel_configs:
|
|
- source_labels: ["__syslog_connection_ip_address"]
|
|
target_label: "ip_address"
|
|
- source_labels: ["__syslog_message_severity"]
|
|
target_label: "severity"
|
|
- source_labels: ["__syslog_message_facility"]
|
|
target_label: "facility"
|
|
- source_labels: ["__syslog_message_hostname"]
|
|
target_label: "host"
|