Repository is archived
No commit activity in last 3 years
No release in over 3 years
This plugin provides native logstash instrumentation for monitoring, including: a handler for sending events to logstash.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

~> 2.1
~> 0.13
~> 13.0
~> 3.5
~> 3.9
~> 0.85.0
~> 3.8.3
~> 0.9.25

Runtime

~> 2.3.1
~> 3.2.1
~> 2.1.0
 Project Readme

Sensu-Plugins-logstash

Gem Version Sensu Bonsai Asset

This is an unofficial fork

This fork is automatically tested, built and published to RubyGems and Bonsai.

Functionality

Files

  • bin/handler-logstash

Usage

handler-logstash

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

Supported output types: redis, tcp, udp

Installation

Installation and Setup

Notes