cloudstack-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ian Duffy <...@ianduffy.ie>
Subject Re: cloudstack event to logstash
Date Sun, 17 Aug 2014 19:18:42 GMT
Hi Erik,

Not sure. I tried placing it into
/usr/share/cloudstack-management/webapps/client/WEB-INF/classes which would
be in the classpath but doesn't work.

I'd imagine there's more knowledgable folk on dev@ that would be able to
guide you.


On 17 August 2014 19:19, Erik Weber <terbolous@gmail.com> wrote:

> Hi Ian,
>
> Any idea where that context would be defined on a rpm installation?
>
> --
> Erik
>
>
> On Sun, Aug 17, 2014 at 1:28 AM, Ian Duffy <ian@ianduffy.ie> wrote:
>
> > Hi Pierre-Luc,
> >
> > I decided to have a look at this evening.
> >
> > I was successfully able to go cloudstack -> rabbitmq -> logstash ->
> > elasticsearch.
> >
> > I created a new spring-context within:
> >
> > cloudstack/server/resources/META-INF/cloudstack/core
> >
> > called: spring-event-bus-context.xml
> >
> > contents: https://gist.github.com/imduffy15/234c6b5fdde57a8910b0
> >
> >
> > I configured logstash to create a queue and bind it to my
> cloudstack-event
> > exchange:
> >
> >
> >
> > input {
> >
> >   rabbitmq {
> >
> >     host => "localhost"
> >
> >     queue => "cloudstack-queue"
> >
> >     exchange => "cloudstack-events"
> >
> >     key => "*.*.*.*.*"
> >
> >     exclusive => true
> >
> >   }
> >
> > }
> >
> >
> > output {
> >
> >     elasticsearch { host => localhost protocol => 'http' }
> >
> > }
> >
> >
> > On 16 August 2014 18:19, Ian Duffy <ian@ianduffy.ie> wrote:
> >
> > > Hi Pierre-Luc
> > >
> > > Have you seen the post by Chip? He details how to publish events to
> > > RabbitMQ:
> > >
> >
> http://www.chipchilders.com/blog/2013/7/16/tapping-into-apache-cloudstack-events-via-amqp.html
> > >
> > > The logstash docs then discuss getting the data from rabbitmq:
> > > http://logstash.net/docs/1.3.2/inputs/rabbitmq
> > >
> > > Never tried it but looks straight forward.
> > >
> > >
> > > On 16 August 2014 15:36, Pierre-Luc Dion <pdion@cloudops.com> wrote:
> > >
> > >> Hi,
> > >>
> > >> Does anyone tried to push CloudStack Event logs into logstash or
> > graylog2
> > >> via rabbitmq ?
> > >> I've found nothing about this so far.
> > >>
> > >> Thanks
> > >>
> > >> *Pierre-Luc DION*
> > >> Architecte de Solution Cloud | Cloud Solutions Architect
> > >> t 855.652.5683
> > >>
> > >> *CloudOps* Votre partenaire infonuagique* | *Cloud Solutions Experts
> > >> 420 rue Guy *|* Montreal *|* Quebec *|* H3J 1S6
> > >> w cloudops.com *|* tw @CloudOps_
> > >>
> > >
> > >
> >
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message