2024-09-03 17:43:26 +02:00
|
|
|
[INPUT]
|
|
|
|
name tail
|
|
|
|
path /var/lib/docker/containers/**/*.log
|
|
|
|
path_key path
|
|
|
|
multiline.parser docker, cri
|
|
|
|
Parser docker
|
|
|
|
Docker_Mode On
|
|
|
|
|
|
|
|
[INPUT]
|
|
|
|
Name syslog
|
|
|
|
Listen 0.0.0.0
|
|
|
|
Port 5140
|
|
|
|
Parser syslog-rfc3164
|
|
|
|
Mode tcp
|
|
|
|
|
2024-09-27 14:38:39 +02:00
|
|
|
[INPUT]
|
|
|
|
name fluentbit_metrics
|
|
|
|
tag internal_metrics
|
|
|
|
scrape_interval 2
|
|
|
|
|
2024-09-03 17:43:26 +02:00
|
|
|
[SERVICE]
|
|
|
|
Flush 1
|
|
|
|
Parsers_File parsers.conf
|
|
|
|
|
2024-09-27 14:38:39 +02:00
|
|
|
[OUTPUT]
|
|
|
|
Name prometheus_remote_write
|
|
|
|
Match internal_metrics
|
|
|
|
Host victoriametrics
|
|
|
|
Port 8428
|
|
|
|
Uri /api/v1/write
|
|
|
|
|
2024-09-03 17:43:26 +02:00
|
|
|
[OUTPUT]
|
|
|
|
name loki
|
|
|
|
match *
|
|
|
|
host victorialogs
|
|
|
|
uri /insert/loki/api/v1/push
|
|
|
|
port 9428
|
|
|
|
label_keys $path,$log,$time
|
|
|
|
header VL-Msg-Field log
|
|
|
|
header VL-Time-Field time
|
|
|
|
header VL-Stream-Fields path
|