#InfluxDB : readable timestamps in the CLI
Time-series database InfluxDB provides a nice CLI, similar to what is available for many other databases.
One key feature of the interaction with time series databases is to work a lot with time, so it comes a little bit surprising that InfluxDB displays time as nanoseconds timestamp, like the following:
To have human-readable timestamps invoke the CLI as the following:
$influx -precision rfc3339
or type the following command at the CLI propmpt:
> precision rfc3339
The timestamp will then look like:
better right? 🙂
Posted on March 17, 2019, in Dev/Infra Tools and tagged Data Processing, database, influxdb, time series. Bookmark the permalink. Leave a comment.
Leave a comment