Hello,

I get errors with rsyslog each time It tries to send messages to
elasticsearch.

Does anyone experienced something similar? Elasticsearch version is 1.2.2,
rsyslog is 8.2

Error:

6454.246866136:7fd5643ff700: omelasticsearch: endTransaction, batch:
'{"index":{"_index": "logstash-index","_type":"test-type4"}}
{"@timestamp":"2014-07-12T17:47:34.240571+03:00","timereported":"2014-07-12T17:47:34.240571+03:00","timegenerated":"2014-07-12T17:47:34.240571+03:00","message":"
No nfsiostat data generated.","host":"v-so-repo-02.synygy.net
","severity":"warning","priority":"warning","facility":"daemon","tag":"collectd[26900]:"}
'
6454.249699402:7fd5643ff700: omelasticsearch: pWrkrData replyLen = '152'
6454.249712373:7fd5643ff700: omelasticsearch: pWrkrData reply:
'{"took":2,"errors":false,"items":[{"create":{"_index":"logstash-index","_type":"test-type4","_id":"SDri7-7NSkOULYms5WhwTw","_version":1,"status":201}}]}'
6454.249727877:7fd5643ff700: omelasticsearch: 1 items in reply
6454.249735667:7fd5643ff700: omelasticsearch: error in elasticsearch reply:
item 0, prop ok ((nil)) not ok
6454.249760096:7fd5643ff700: omelasticsearch: error record: '{
    "request":    {
        "url":    "http://v-is-puppet-02.synygy.net:9200/_bulk?";,
        "postdata":    "{\"index\":{\"_index\":
\"logstash-index\",\"_type\":\"test-type4\"}}\n{\"@timestamp\":\"2014-07-12T17:47:34.240571+03:00\",\"timereported\":\"2014-07-12T17:47:34.240571+03:00\",\"timegenerated\":\"2014-07-12T17:47:34.240571+03:00\",\"message\":\"
No nfsiostat data generated.\",\"host\":\"v-so-repo-02.synygy.net
\",\"severity\":\"warning\",\"priority\":\"warning\",\"facility\":\"daemon\",\"tag\":\"collectd[26900]:\"}\n"
    },
    "reply":    {
        "took":    2,
        "errors":    false,
        "items":    [{
                "create":    {
                    "_index":    "logstash-index",
                    "_type":    "test-type4",
                    "_id":    "SDri7-7NSkOULYms5WhwTw",
                    "_version":    1,
                    "status":    201
                }
            }]
    }
}'
6454.249808839:7fd5643ff700: omelasticsearch: endTransaction done with 0

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.

Reply via email to