I am trying to use the fluentd docker log driver. I write stdout as json and have fluentd forward that to influxdb using this plugin.
fluentd.conf
<source>
@type forward
format json
port 24224
</source>
<match **>
@type influxdb
host influxdb
port 8086
dbname test
user admin
password admin
use_ssl false
measurement pingdom
flush_interval 1s
</match>
It seems as though it just forwards the json that it gets from docker. Most like because of the source setup, but since current influxdb only supports line protocol, how can we we forward from a source of json and have fluentd format that to line protocol?
I am trying to use the fluentd docker log driver. I write stdout as json and have fluentd forward that to influxdb using this plugin.
fluentd.conf
It seems as though it just forwards the json that it gets from docker. Most like because of the source setup, but since current influxdb only supports line protocol, how can we we forward from a source of json and have fluentd format that to line protocol?