mirror of
https://github.com/VictoriaMetrics/VictoriaMetrics.git
synced 2024-12-19 07:01:02 +01:00
30 lines
645 B
Plaintext
30 lines
645 B
Plaintext
|
[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
|
||
|
|
||
|
[SERVICE]
|
||
|
Flush 1
|
||
|
Parsers_File parsers.conf
|
||
|
|
||
|
[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
|