Influxdb output plugin - logstash

Current plugin let us store data points which is great. But we have two separate JSON one for tags and other with fields after filter process.

tag json:
"app": "a1",
"host": "h1",
"backend": "b1"
field json:
"mem": 11,
"custom_counter": 22,
"custom_gauge": 33

These json payload can have different number of elements in it. Is there any way we can have something like below?

influxdb {
data_tags => %{tags_json}
data_fields => %{fields_json}
host => ...


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