phobos182 / collectd-elasticsearch

Collectd ElasticSearch plugin
Apache License 2.0
105 stars 105 forks source link

Not working with write_http (JSON format) #26

Closed jaskaran07 closed 8 years ago

jaskaran07 commented 8 years ago

Hi,

The collectd-elasticserach plugin seems to be working correctly as i get the below logs: [2015-12-04 04:56:31] elasticsearch plugin [verbose]: Configured with version=1.0, host=localhost, port=9200, url=http://localhost:9200/_nodes/_local/stats/transport,http,process,jvm,indices,thread_pool

....

But for some reason collectd is 'not' sending the ElasticSearch metrics data to my graphite database. Is there some integration issue with write_http set with json format.

Collectd is able to send other metrics data from genericJMX etc to my graphite database.

My version of collectd is 5.4 on ubuntu 14.04

Please help. Thanks Jaskaran

jaskaran07 commented 8 years ago

Got it to work with: val.meta = {'0': True}

ref: https://github.com/phobos182/collectd-elasticsearch/issues/15