Sensu-Plugins-logstash
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