mirror of
https://github.com/VictoriaMetrics/VictoriaMetrics.git
synced 2024-12-20 23:46:23 +01:00
6adb3f0dc2
### Describe Your Changes
Marked fluentd in victorialogs roadmap
Added fluentd syslog example setup
### Checklist
The following checks are **mandatory**:
- [ ] My change adheres [VictoriaMetrics contributing
guidelines](https://docs.victoriametrics.com/contributing/).
(cherry picked from commit 05a64a8c14
)
34 lines
699 B
YAML
34 lines
699 B
YAML
exporters:
|
|
syslog:
|
|
network: tcp
|
|
endpoint: victorialogs
|
|
port: 5410
|
|
tls:
|
|
insecure: true
|
|
debug:
|
|
verbosity: detailed
|
|
processors:
|
|
transform:
|
|
log_statements:
|
|
- context: log
|
|
statements:
|
|
- set(attributes["message"], body)
|
|
receivers:
|
|
filelog:
|
|
include: [/tmp/logs/*.log]
|
|
service:
|
|
telemetry:
|
|
metrics:
|
|
readers:
|
|
- periodic:
|
|
interval: 5000
|
|
exporter:
|
|
otlp:
|
|
protocol: http/protobuf
|
|
endpoint: http://victoriametrics:8428/opentelemetry/api/v1/push
|
|
pipelines:
|
|
logs:
|
|
receivers: [filelog]
|
|
exporters: [syslog, debug]
|
|
processors: [transform]
|