Skip to content

deesel/fluent-plugin-udp-output

Repository files navigation

fluent-plugin-udp-output

Overview

Fluentd output plugin for sending events to udp endpoints.

Requirements

fluent-plugin-udp-output Fluentd Ruby
>= 1.0.0 >= v0.14.10 >= 3.2

Installation

Install with gem or fluent-gem command as:

$ fluent-gem install fluent-plugin-udp-output

For more details, see Plugin Management

Configuration

  • 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"

Usage

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>

TODO

  • Add tests

Copyright

Copyright: Copyright (c) 2025- Jozef Pivarnik (@deesel) License: Apache License, Version 2.0

About

Fluentd output plugin for sending events to udp endpoints.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages