Closed ghost closed 6 years ago
Hi All,
I'm using Logstash to manipulate the output of Telegraf before sending the information to InfluxDB. Here is an example event after filters (rubydebug output):
{ "fields" => { "Percent_User_Time" => 2.3403491973876953 }, "name" => "win_cpu", "tags" => { "host" => "OSTPMCWEB", "instance" => "0", "objectname" => "Processor" }, "timestamp" => 1507287310, "@version" => "1", "@timestamp" => "2017-10-06T10:55:14.002Z", "host" => "10.184.40.204" }
Im trying to use the influxdb output plugin as below:
influxdb { data_points =>{} use_event_fields_for_data_points => "true" exclude_fields => ["@timestamp", "@version", "host"] port => #### host => "xxx.xxx.com" db => "TL_TEST" }
Yet getting the error:
Unknown setting 'use_event_fields_for_data_points' for influxdb {:level=>:error} Unknown setting 'exclude_fields' for influxdb {:level=>:error}
Anyone have any pointers?
which version of the plugin are you using? any version >= 3.0.0 should support these two fields
Think I found an alternative solution as I had to have more robust parsing. But will be sure to upgrade in the future.
Hi All,
I'm using Logstash to manipulate the output of Telegraf before sending the information to InfluxDB. Here is an example event after filters (rubydebug output):
Im trying to use the influxdb output plugin as below:
Yet getting the error:
Anyone have any pointers?