InfluxDB Cli中查询结果中time格式显示设置

InfluxDB Cli中,time默认显示为19位时间戳格式,平时查询起来特不方便,那么,如何设置成为我们人类能看懂的时间格式呢?

方法有二:

1、$ influx -precision rfc3339

2、$ influx

  Connected to http://localhost:8086 version 0.xx.x

  InfluxDB shell 0.xx.x

  > precision rfc3339

  >

猜你喜欢

转载自www.linuxidc.com/Linux/2016-11/137208.htm