Using telegraf with http_listener_v2 plugin for input and influxdb plugin for output.
Posting data in line control format and timestamp with seconds precision. This data is getting inserted to influxdb with wrong timestamp.
Tried setting [agent].precision = “1s” but didn’t help.
Input: process_count,process_name=Proc33 pcount=197 1568270854
InfluxDB: “1970-01-01T00:00:01.568270854Z”, “Proc33”, 3673