mirror of
https://github.com/VictoriaMetrics/VictoriaMetrics.git
synced 2024-12-25 11:50:13 +01:00
25 lines
449 B
YAML
25 lines
449 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:
|
||
|
pipelines:
|
||
|
logs:
|
||
|
receivers: [filelog]
|
||
|
exporters: [syslog, debug]
|
||
|
processors: [transform]
|