Hi Saravanakumar,

I think Heka 0.9.2 works only with InfluxDB 0.8 
If you need to send metrics to InfluxDB 0.9 try to use Heka 0.10beta.

Regards, 
Timur


> On 02 Aug 2015 04:54:18, Saravanakumar S <[email protected]> wrote: 
> Dear Mozilla Team,
> 
> Can you help me to get solution for the below question:
> 
> I installed InfluxDB v0.9 and Hekad tool in same machine, i need help on 
> hekad configuration, where it can send output to InfluxDB v0.9.
> 
> Here is the steps, done so for using influx CLI
> (1) CREATE DATABASE mydb
> (2) USE mydb
> (3) CREATE USER admin WITH PASSWORD 'admin' WITH ALL PRIVILEGES
> 
> Here is the mine hekad configuration(/etc/hekad.toml) 
> [LogstreamerInput]
> log_directory = "/var/log" 
> file_match = 'auth.log'
> 
> [influxdb]
> type = "SandboxEncoder"
> filename = "lua_encoders/schema_influx.lua"
> [influxdb.config]
> series = "heka.%{Logger}"
> skip_fields = "Pid EnvVersion"
> 
> [InfluxOutput]
> message_matcher = "Type == 'influxdb'"
> encoder = "influxdb"
> type = "HttpOutput"
> address = "http://localhost:8086/db/mydb/series";
> username = "admin"
> password = "admin"
> 
> [LogOutput] 
> message_matcher = "TRUE" 
> encoder = "influxdb"
> 
> Problem i am facing is:
> If i inputted "echo "hello" >> /var/log/auth.log" and i can able see the logs 
> hekad standard output, but not able see the same logs in InfluxDBv0.9.
> I googled, the below configuration in /etc/hekad.toml is w.r.to InfluxDBv0.8 
> (not for InfluxDBv0.9). I tried with the URI mentioned in InfluxDBV0.9 here 
> in address, not working. Can you please provide me the right hekad.toml 
> configuration for InfluxDBv0.9
> address = "http://localhost:8086/db/mydb/series";
> 
> Thanks,
> Saravanakumar S,
> Chennai, India
> _______________________________________________
> Heka mailing list
> [email protected]
> https://mail.mozilla.org/listinfo/heka
_______________________________________________
Heka mailing list
[email protected]
https://mail.mozilla.org/listinfo/heka

Reply via email to