Display time in local timezone when querying InfluxDB from the CLI

拜拜、爱过 提交于 2020-02-24 11:05:09

问题


I store points in InfluxDB using UTC but when querying from the command line,

influx -precision rfc3339

I want to display them in the local timezone, for all queries. How can I do that?

To display the time in a specific timezone, I can add (for example) tz('America/Chicago') to the end of each query, but this is annoying. Is there a way to configure Influx to show the time in a specific timezone for all queries? The CLI documentation doesn't list and argument or command to do that.


回答1:


Apparently this is not possible, but you can +1 the feature request.



来源:https://stackoverflow.com/questions/52232861/display-time-in-local-timezone-when-querying-influxdb-from-the-cli

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!