# Influx DB Output use event fields problem

**URL:** <https://discuss.elastic.co/t/influx-db-output-use-event-fields-problem/102994>\
**Category:** Logstash\
**Created:** [October 6, 2017, 11:05am UTC](https://discuss.elastic.co/t/influx-db-output-use-event-fields-problem/102994 "2017-10-06T11:05:45Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![999chris](https://avatars.discourse-cdn.com/v4/letter/9/f17d59/32.png) [@999chris](https://discuss.elastic.co/u/999chris)\
**Post date:** [October 6, 2017, 11:05am UTC](https://discuss.elastic.co/t/influx-db-output-use-event-fields-problem/102994/1 "2017-10-06T11:05:45Z")

</div>

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?

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [November 3, 2017, 11:05am UTC](https://discuss.elastic.co/t/influx-db-output-use-event-fields-problem/102994/2 "2017-11-03T11:05:46Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
