Dieterbe / anthracite

an event / change logging/managament app
Apache License 2.0
296 stars 33 forks source link

Idea - Event source / outputs : message queues #7

Open xkilian opened 11 years ago

xkilian commented 11 years ago

Since we are dealing with events. Integration with message queues seems a pretty natural things. For example receive events from AMQP 0.9.1 (RabbitMQ), STOMP (ActiveMQ) and/or ZeroMQ.

The same applies when sending notifications, these could be sent to a message queue which would be responsible in transforming it into the appropriate medium (email, rss, pagerduty, sms, etc.).

Cheers,

xkilian

Dieterbe commented 11 years ago

I'm thinking this seems like a good scope to integrate with logstash. i.e. you could do all that because logstash supports the input plugins, and it can emit to elasticsearch.

but:

I wonder what @jordansissel thinks about this

jordansissel commented 11 years ago

Sounds good to me! I think I'm missing some context, but overall this sounds like the right strategy in terms of not having to duplicate efforts.

As for having kibana make this data visible, I think having anthracite events sent to the 'logstash' index as well as the anthracite index separately is fine (duplicating those evnets in both places). Kibana may be able to search multiple indexes, so this duplication may not matter (as long as the schemas are roughly the same on both indexes)

As for giving anthracite data more resilience you can tell elasticsearch to store more replicas of this data. For disaster recovery, with logstash, you could ship anthracite events off to an archival source (like a file on disk, or a secondary service). There's an S3 output coming soon that can help that as well - all depends on what your resiliency/DR strategies are.