This plugin provides native logstash instrumentation for monitoring, including: a handler for sending events to logstash.
Ruby
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
.github
bin Support Logstash 6.x metrics Mar 15, 2018
lib
test
.gitignore
.rubocop.yml
.travis.yml
CHANGELOG.md
CONTRIBUTING.md
Gemfile
LICENSE
README.md
Rakefile
sensu-plugins-logstash.gemspec

README.md

Sensu-Plugins-logstash

Build Status Gem Version Code Climate Test Coverage Dependency Status

Functionality

Files

  • bin/handler-logstash

Usage

handler-logstash

{
  "logstash": {
    "endpoint": [
      {
        "address": "host1.example.tld",
        "port": 5000,
        "output": "redis"
      },
      {
        "address": "host2.example.tld",
        "port": 5001,
        "output": "logstash"
      }
    ],
    "list": "logstash",
    "type": "sensu-logstash",
    "custom": {
      "thisFieldWillBeMergedIntoTheTopLevelOfOutgoingJSON": {
        "metadata": "some metadata",
        "moreMetadata": 42
      }
    }
  }
}

Supported output types: redis, tcp, udp

Installation

Installation and Setup

Notes