Hello Scot,

I'm one of the LMA developers so let me try answer your questions. For
future requests, I would advise you to use the openstack-dev mailing list
with the [LMA] tag because I don't think that LMA is relevant for the
average Heka users.

On Fri, Jan 22, 2016 at 10:12 PM, Scot <[email protected]> wrote:

> Hi,
>
>  New to heka and OpenStack LMA. I believe heka is the right place to begin
> forwarding data to a 3rd party system.
>
> Joined the list a little over a month ago and haven't seen anyone else
> talking about this so I'm worried I may be looking in the wrong place. We
> have an OpenStack deployment with LMA and I would to begin integrating our
> existing monitoring system.
>
> My system supports, syslog, trap, and a full REST API for creating events
> or logging data.
>
> My understanding of heka's roll in OpenStack is a hub for all this type of
> data but having a hard time locating any examples of this type of
> integration.
>
> It seems like I would start with a sandbox config to replicate events with
> a REST post my system?
> http://fuel-plugin-lma-collector.readthedocs.org/en/stable/
>


IIUC you want to forward some (?) of the messages processed by the Heka
service to an external REST endpoint. If that's correct then what I would
use is the HTTP output plugin [1] combined with a Lua sandbox encoder
plugin [2] that would format the incoming Heka message into the
representation supported by your external API. You would have to write the
sandbox encoder in Lua but I can provide some help if you have
documentation for the REST API.

Regards,

Simon

[1] http://hekad.readthedocs.org/en/v0.10.0/config/outputs/http.html
[2] http://hekad.readthedocs.org/en/v0.10.0/config/encoders/sandbox.html


>
>
>
> _______________________________________________
> Heka mailing list
> [email protected]
> https://mail.mozilla.org/listinfo/heka
>
>
_______________________________________________
Heka mailing list
[email protected]
https://mail.mozilla.org/listinfo/heka

Reply via email to