Question: How do you make InfluxDB’s CLI return human-readable timestamps?
Instead of this:
name: clothes
---------
time percent_cool
892482496000000000 0.5
Return this:
name: clothes
---------
time percent_cool
1998-04-13T15:48:16Z 0.5
Answer: When you first connect to the CLI, specify the rfc3339 precision:
$ influx -precision rfc3339
Alternatively, specify the precision once you’ve already connected to the CLI:
$ influx
Connected to http://localhost:8086 version 0.xx.x
InfluxDB shell 0.xx.x
> precision rfc3339
>