Skip to content

sohaibmaroof/fluent-plugin-in-udp-event

 
 

Repository files navigation

<img src=“https://badge.fury.io/rb/fluent-plugin-in-udp-event.png” alt=“Gem Version” /> <img src=“https://travis-ci.org/ablagoev/fluent-plugin-in-udp-event.png?branch=master” /> <img src=“https://coveralls.io/repos/ablagoev/fluent-plugin-in-udp-event/badge.png?branch=master” alt=“Coverage Status” /> <img src=“https://codeclimate.com/github/ablagoev/fluent-plugin-in-udp-event.png” />

fluent-plugin-in-udp-event

An event driven Fluentd input plugin for sending logs through UDP. The plugin uses Cool.io similarly to other parts in Fluentd.

The incoming max message size can be configured through the max_message_size config option. It is 1024 bytes by default, any messages larger than this will be ignored.

Messages should be in JSON format, following fluentd’s common message structure:

[tag, timestamp, data]

Installations:

‘gem install fluent-in-udp-event`

Usage:

# Configuration file fluent.conf

<source>
  type udp_event
  port 24224
  bind 0.0.0.0
  max_message_size 2048
</source>

The plugin was heavily influenced by the in_syslog plugin in fluentd.

Copyright © 2013 ablagoev. See LICENSE.txt for further details.

About

Event driven udp input plugin for fluentd

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Ruby 100.0%