Hi,

I think the following should do it.

<Output out>
    Module              om_http
    URL                 http://localhost:8080/...
    Exec                to_json();
</Output>

Regards,
Botond


On Thu, 11 Jul 2013 16:25:01 -0500
RVine <vine.russ...@gmail.com> wrote:

> Hi,
> I'm a new user of nxlog and thoroughly enjoying using it.  I'm stuck on
> something at the moment and hoping that someone out there can provide some
> guidance.  I'm trying to write directly to Elasticsearch using om_http, but
> can't seem to get it to work.  In the example that follows, curl is used to
> post a JSON doc to create a record in Elasticsearch.  How would one go
> about doing this in nxlog?
> 
>  curl -XPOST 'http://localhost:9200/twitter/tweet/' -d '{
>     "user" : "kimchy",
>     "post_date" : "2009-11-15T14:12:12",
>     "message" : "trying out Elastic Search"
> }'
> 
> 
> Thanks,
> Russell

------------------------------------------------------------------------------
See everything from the browser to the database with AppDynamics
Get end-to-end visibility with application monitoring from AppDynamics
Isolate bottlenecks and diagnose root cause in seconds.
Start your free trial of AppDynamics Pro today!
http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg.clktrk
_______________________________________________
nxlog-ce-users mailing list
nxlog-ce-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nxlog-ce-users

Reply via email to