logstash-plugins / logstash-output-influxdb

Apache License 2.0
58 stars 79 forks source link

If a field isn't found, the field interpretation string is sent to influxdb #65

Open Ultimation opened 7 years ago

Ultimation commented 7 years ago

I have a range of data points in my config, some of which don't always exist. When they don't exist, I don't want the plugin to send anything. Instead it will send "%{[fielda][fieldc]}" into the influx database as a string.

I can get around this by having multiple modules instantiated in the config file for each situation, but sending the string interpretation seems wrong.

IngaFeick commented 7 years ago

Ran into the same issue a couple of days ago. I am currently testing a patch, might send a PR in a couple of days.

Ultimation commented 6 years ago

Have we got any progress on this? I'm noticing it also happening on empty strings in fields too now

trondvh commented 5 years ago

+1