VictoriaMetrics/deployment/docker/victorialogs/fluentd/loki/fluent.conf
Andrii Chubatiuk 3df920c60d
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-28 21:21:17 +02:00

27 lines
411 B
Plaintext

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