将时间序列中的间隔设置为 1 秒
我正在尝试使用 lucene 查询在 grafana 中显示来自弹性搜索的日志。它总体上有效,但我想将时间序列中的间隔设置为 1 秒,但从 grafana ui 看来我可以设置的最低限制是 10 秒。如何将间隔限制为 1 秒。 lucene 查询是 log.file.path:\/data\/gitlab\/logs\/gitlab-rails\/api_json.log AND fields.environment:product
<一href="https://i.sstatic.net/izbXj.png" rel="nofollow noreferrer">
I am trying to display logs from elastic search in grafana using the lucene query. It works overall but I will like to set the interval in the time series as 1 second but from the grafana ui it seems the lowest limit I can set is 10 seconds. How do I limit the interval to just 1 second.
The lucene query is log.file.path:\/data\/gitlab\/logs\/gitlab-rails\/api_json.log AND fields.environment:production
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
实际上,最小值为
10s
的Interval
选择框并不是真正的选择框。您可以单击此处,然后可以在那里写入/创建1s
:您也可以在其他 Grafana 选择框中使用此功能。对于新用户来说,这不是直观的功能。
Actually, that
Interval
select box, where the minimal value is10s
is not real select box. You can click there and you can write/create1s
there:You can use this feature in other Grafana select boxes as well. It is just not intuitive feature for new users.