如何在InfluxDB选择查询中格式化时间 [英] How to format time in influxdb select query

查看:2813
本文介绍了如何在InfluxDB选择查询中格式化时间的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我是InfluxDB的新手.我在admin ui中查询数据.我将时间视为时间戳记.可以看到它格式化为日期和时间吗?

I am new to InfluxDB. I am querying data in admin ui. I see time as timestamp. Is it possible to see it formatted as date and time?

推荐答案

您可以选择 RFC 3339 通过在CLI中输入以下命令来格式化:

You can select RFC 3339 formatting by entering the following command in the CLI:

precision rfc3339

这篇关于如何在InfluxDB选择查询中格式化时间的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆