elastic/logstash

Sensu codec for RabbitMQ output

Open

#2,124 opened on Nov 24, 2014

View on GitHub
 (3 comments) (0 reactions) (0 assignees)Ruby (3,496 forks)batch import
help wantednew plugin

Repository metrics

Stars
 (14,197 stars)
PR merge metrics
 (Avg merge 4d 19h) (50 merged PRs in 30d)

Description

Originally reported by Brian Preston at https://logstash.jira.com/browse/LOGSTASH-2116

I'm trying to get matching ingested logs to fire a sensu alert. One way I see to do this is have logstash output matching logs into rabbitmq, using the output already written. However the message would need to be formatted into the format sensu uses, which implies a codec.

History: The google group "logstash-users" mentioned a need for this in Nov 2013, but it looks like no one has implemented it yet.

The original thread: https://groups.google.com/forum/#!searchin/logstash-users/sensu/logstash-users/pZkBl7XoTEg/pfCiErPxRI4J

It probably would not need specific codec, if the existing rabbitmq plugin supported customizing the payload.

Contributor guide