Oke,
Just to be clear:
First I configured the [[outputs.influxdb]], but I should not have done that. Instead I should have configured [[outputs.socket_writer]].
So my new config looks like:
[[outputs.socket_writer]]
address = “tcp4://127.0.0.1:9009”
That seems to get rid of the error.
Now I have to solve the JSON parsing error I get…
Telegraf error: [inputs.mqtt_consumer] Error in plugin: metric parse error:
Thanks for your help!