mirror of
https://github.com/VictoriaMetrics/VictoriaMetrics.git
synced 2024-12-11 14:53:49 +00:00
3df920c60d
### 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/).
26 lines
411 B
Text
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>
|