VictoriaMetrics/deployment/docker/victorialogs/fluentd/loki/fluent.conf
Andrii Chubatiuk 00912bfa0f
docs/victorialogs: change fluentd input type in examples (#7123)
### Describe Your Changes

Use fluentd logging driver in examples to have enriched data in
VictoriaLogs

### Checklist

The following checks are **mandatory**:

- [ ] My change adheres [VictoriaMetrics contributing
guidelines](https://docs.victoriametrics.com/contributing/).
2024-09-27 15:09:36 +02:00

26 lines
411 B
Text

<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>