My setup is using Telegraf as a Mosquitto subscriber. Data is then fed to InfluxDB in JSON format.
I would like Grafana to display points in a graph, but data coming are in the form:
{ “epoc_s”: 1444403034, “value”: 1234 }
where “epoc_s” is the EPOC time in seconds.
I want the graph point to be located at the given time, not the time of the InfluxDB data fetch by Grafana.
Is it possible and if so, how?
in the [[inputs.mqtt-consumer]] of Telegraf configuration file, and specify data according to the description above, it should do what I want: inserting points at a specific time.