phobos182/collectd-elasticsearch

Not working with write_http (JSON format)

Closed this issue · 1 comments

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
[2015-12-04 04:56:31] elasticsearch plugin [verbose]: Sending value[gauge]: thread_pool.bulk.threads=0
....

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

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

ref:
#15