Pretty simple question: I’d like to get a CSV export via the Influx query API, and I’d like to have the timestamps be in RFC3339 format rather than Unix epoch.
Is there a way to do that? Currently (per the API docs: https://docs.influxdata.com/influxdb/v1.7/tools/api/), switching the API output format from JSON to CSV automatically switches the timestamp format from RFC3339 to Unix epoch. The precision of the timestamps is still configurable, but that’s about it. I’ve experimented with a few query parameters, to no avail.
What I’m trying to do is of course possible via the CLI, by setting
-format csv -precision rfc3339, but the API appears to be more limited. Or am I missing something?