Fluentd output plugin for sending events to udp endpoints.
fluent-plugin-udp-output | Fluentd | Ruby |
---|---|---|
>= 1.0.0 | >= v0.14.10 | >= 3.2 |
Install with gem
or fluent-gem
command as:
$ fluent-gem install fluent-plugin-udp-output
For more details, see Plugin Management
- host (string) (optional): Host to send UDP messages to.
- Default value: "127.0.0.1"
- port (bool) (optional): Port that UDP receiver listens on.
- Default value: 12345
- message (string) (optional): Record field, which content will be sent to UDP listener.
- Default value: "message"
Example to forward syslog messages to another UDP listener.
<source>
@type tail
path /var/log/syslog
tag syslog
read_from_head true
<parse>
@type regexp
expression /^(?<event.original>.*)$/
</parse>
</source>
<match syslog>
@type udp
host 127.0.0.1
port 5141
message event.original
</match>
- Add tests
Copyright: Copyright (c) 2025- Jozef Pivarnik (@deesel) License: Apache License, Version 2.0