Fluent::Plugin::Spectrum

fluent-plugin-spectrum is an input plug-in for Fluentd

Installation

These instructions assume you already have fluentd installed. If you don't, please run through quick start for fluentd

Now after you have fluentd installed you can follow either of the steps below:

Add this line to your application's Gemfile:

gem 'fluent-plugin-spectrum'

Or install it yourself as:

$ gem install fluent-plugin-spectrum

Usage

Add the following into your fluentd config.

<source>
  type spectrum        # required, choosing the input plugin.
  endpoint hostname    # required, FQDN of Spectrum EndPoint
  username ws_user     # optional, interface to listen on, default 0 for all.
  password ws_password # optional, interface to listen on, default 0 for all.
  tag alert.spectrum   # optional, tag to assign to events, default is alert.spectrum 
</source>

<match alert.spectrum>
  type stdout
</match>

Now startup fluentd

$ sudo fluentd -c fluent.conf &

Send a test TBD

To Do

Things left to do, not in any particular order.