Telegraf MQTT to Influxdb - Add custom field for current date

dmorel
Mon, 03 Jun 2024 15:50:28 +0000
Telegraf

Hello,
I have set my telegraf config for write my Json topic was write in collection in Influxdb.
It works well.
But i want add the current date like a field for know the write date.
How can i make this in my [[inputs.mqtt_consumer]] or [[outputs.influxdb_v2]] area?
Regards

6 posts - 2 participants