Skip to content

peepa/fluent-plugin-out_rawtcp

 
 

Repository files navigation

Raw MsgPack for Fluentd

Used to chain fluentd -> logstash

Fluentd's out_forward plugin uses a custom serialization mechanism that prevents interaction with logstash (input tcp + msgpack codec).
This plugin implements a simple TCP forward, without heartbeats or any other out-of-band checks.

Installation

gem install fluent-plugin-out_rawtcp

Usage

<match **>
  type rawtcp
  buffer_type file
  buffer_path /var/log/fluent/logcentral
  <server>
    name log1
    host 10.0.1.165
    port 24224
  </server>
</match>

Multiple <server> entries can be configured and logs will be sent to the first active one.

Acknowledgement

Inspired by fluentd's out_forward plugin by FURUHASHI Sadayuki

About

Plugin to pass messages between Fluentd and Logstash

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Ruby 100.0%