Hi Cristian,

This issue seems to be caused by the fact that omelasticsearch looks for
ok=true in the reply, and that's missing from ES 1.0 and later. It was
reported here: https://github.com/rsyslog/rsyslog/issues/104

I'm not sure if someone is working on the issue, AFAIK Rainer is in
vacation, so if you or anyone else can submit a patch it would be much
appreciated - we already have two volunteers for testing, including myself
:)

Best regards,
Radu

--
Performance Monitoring * Log Analytics * Search Analytics
Solr & Elasticsearch Support * http://sematext.com/


On Mon, Aug 11, 2014 at 11:34 AM, Cristian Falcas <[email protected]>
wrote:

> Hello,
>
> I'm using rsyslog to send logs to an elasticsearch instance and I have set
> also the errorFile parameter for all actions of this type.
>
> Unfortunately the error log files are spamed with correct result:
>
>         "reply":        {
>                 "took": 0,
>                 "errors":       false,
>                 "items":        [{
>                                 "create":       {
>                                         "_index":       "2014-08-11",
>                                         "_type":        "default",
>                                         "_id":  "kzmXHE5hQfm0REMjzxPv7g",
>                                         "_version":     1,
>                                         "status":       201
>                                 }
>                         }]
>
>
> Status 201 should not be logged as an error.
>
> Best regards,
> Cristian Falcas
> _______________________________________________
> rsyslog mailing list
> http://lists.adiscon.net/mailman/listinfo/rsyslog
> http://www.rsyslog.com/professional-services/
> What's up with rsyslog? Follow https://twitter.com/rgerhards
> NOTE WELL: This is a PUBLIC mailing list, posts are ARCHIVED by a myriad
> of sites beyond our control. PLEASE UNSUBSCRIBE and DO NOT POST if you
> DON'T LIKE THAT.
>
_______________________________________________
rsyslog mailing list
http://lists.adiscon.net/mailman/listinfo/rsyslog
http://www.rsyslog.com/professional-services/
What's up with rsyslog? Follow https://twitter.com/rgerhards
NOTE WELL: This is a PUBLIC mailing list, posts are ARCHIVED by a myriad of 
sites beyond our control. PLEASE UNSUBSCRIBE and DO NOT POST if you DON'T LIKE 
THAT.

Reply via email to