Skip to content

Input Plugin for Logstash retrieving data from Burrow API v3

License

Notifications You must be signed in to change notification settings

markush81/logstash-input-burrow

Repository files navigation

Logstash Burrow input plugin

Travis Build Status

This plugin is based off logstash-input-http_poller by @logstash-plugins.

This Logstash input plugin allows you to call Burrow HTTP API and send its output as events.

The license is Apache 2.0.

Config Example

input {
  burrow {
    client => {
        url => "http://localhost:8000"
    }
    # Supports "cron", "every", "at" and "in" schedules by rufus scheduler
    # this should relate to Burrow offset-refresh
    schedule => { every => "60s"}
  }
}

output {
  stdout {
    codec => rubydebug
  }
}

Build Plugin

bundle install

Test Plugin

bundle exec rspec

Install Plugin from rubygems.org

logstash-plugin install logstash-input-burrow

Install Plugin

gem build logstash-input-burrow.gemspec

logstash-plugin install logstash-input-burrow-1.0.0.gem