【问题标题】:Time format in Inlfux Db using curl使用 curl 在 Influxdb 中的时间格式
【发布时间】:2017-02-07 16:01:30
【问题描述】:

当我使用“curl”查询我的 Influx 数据库时,我会得到一个格式如下的结果:“2017-02-07T15:29:46.393796063Z”。 我需要纳秒,正如我进行查询时 Influx 本身所示。 我能怎么做?

【问题讨论】:

    标签: database influxdb time-format


    【解决方案1】:

    我找到了解决方案: 只需在 curl 请求中使用标志 --data-urlencode epoch="n"。 其中n 是纳秒。

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2015-10-16
      • 2020-06-19
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多