mirror of
https://github.com/VictoriaMetrics/VictoriaMetrics.git
synced 2024-12-29 23:30:04 +01: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/).
27 lines
411 B
Plaintext
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>
|