VictoriaMetrics/deployment/docker/victorialogs/fluentd/loki/fluent.conf

27 lines
411 B
Plaintext
Raw Normal View History

<source>
@type forward
port 24224
bind 0.0.0.0
</source>
<filter **>
@type record_transformer
enable_ruby true
<record>
service ${record['com.docker.compose.service']}
</record>
</filter>
<match **>
@type loki
url "http://victorialogs:9428/insert"
<buffer>
flush_interval 10s
flush_at_shutdown true
</buffer>
<label>
service
</label>
buffer_chunk_limit 1m
</match>