mirror of
https://github.com/VictoriaMetrics/VictoriaMetrics.git
synced 2024-12-20 23:46:23 +01:00
18 lines
375 B
Plaintext
18 lines
375 B
Plaintext
|
<source>
|
||
|
@type tail
|
||
|
format none
|
||
|
tag docker.testlog
|
||
|
path /var/lib/docker/containers/**/*.log
|
||
|
</source>
|
||
|
|
||
|
<match **>
|
||
|
@type loki
|
||
|
url "http://victorialogs:9428/insert"
|
||
|
<buffer>
|
||
|
flush_interval 10s
|
||
|
flush_at_shutdown true
|
||
|
</buffer>
|
||
|
custom_headers {"VL-Msg-Field": "log", "VL-Time-Field": "time", "VL-Stream-Fields": "path"}
|
||
|
buffer_chunk_limit 1m
|
||
|
</match>
|