Timur is right that Heka 0.9 doesn't support InfluxDB 0.9, with the
introduction of the 'Schema InfluxDB Line Encoder'. Unfortunately a
glitch in the doc source had this not show up correctly in the v0.10.0b
documentation, but you can see the accurate docs on the dev branch
(http://hekad.readthedocs.org/en/dev/config/encoders/schema_influx_line.html),
and they should show up correctly on the next 0.10.0 release, which I'm
hoping to have out later this week.
-r
On 08/01/2015 06:54 PM, Saravanakumar S wrote:
Dear Mozilla Team,
*Can you help me to get solution for the below question*:
*Iinstalled 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