I can send test metrics to telegraf when using configuration generated by telegraf config
, with the UDP socket enabled, and the default InfluxDB line protocol applied. However, when I send the same metric to telegraf using the cloud Web UI agent configuration generator, then it messes up parsing and interprets the timestamps as zero AKA 1970-0-01.
2025-04-03T15:41:20Z E! [outputs.influxdb_v2] When writing to [https://us-east-1-1.aws.cloud2.influxdata.com/api/v2/write]: failed to write metric to slus-telemetry (will be dropped: 400 Bad Request): invalid: no data written, errors encountered on line(s): line 1: observed timestamp 1970-01-01T00:00:01.743694872+00:00 is outside of the retention period for the namespace: minimum acceptable timestamp is 2025-03-04T15:41:20.901431287+00:00 - line[1374389601248]
2025-04-03T15:41:20Z E! [agent] Error writing to outputs.influxdb_v2: failed to write metric to slus-telemetry (will be dropped: 400 Bad Request): invalid: no data written, errors encountered on line(s): line 1: observed timestamp 1970-01-01T00:00:01.743694872+00:00 is outside of the retention period for the namespace: minimum acceptable timestamp is 2025-03-04T15:41:20.901431287+00:00 - line[1374389601248]
Getting a generic error message for a newly configured cloud agent: Error Listening for Data
. Then it links to documentation for local CLI use.
The Web UI appears to provide no option to edit agent configurations.