23 lines
545 B
YAML
23 lines
545 B
YAML
|
|
server:
|
||
|
|
http_listen_port: 9080
|
||
|
|
grpc_listen_port: 0
|
||
|
|
|
||
|
|
positions:
|
||
|
|
filename: /tmp/positions.yaml
|
||
|
|
|
||
|
|
clients:
|
||
|
|
- url: http://loki:3100/loki/api/v1/push
|
||
|
|
|
||
|
|
scrape_configs:
|
||
|
|
- job_name: syslog_ingest
|
||
|
|
syslog:
|
||
|
|
listen_address: 0.0.0.0:1514
|
||
|
|
listen_protocol: tcp # We only listen on TCP now
|
||
|
|
idle_timeout: 60s
|
||
|
|
label_structured_data: yes
|
||
|
|
labels:
|
||
|
|
job: "syslog_combined" # One job for both Proxmox and UniFi
|
||
|
|
relabel_configs:
|
||
|
|
- source_labels: ['__syslog_message_hostname']
|
||
|
|
target_label: 'host'
|