Kibana图表时间范围 - 如何自动划分?
我正在尝试创建一个Kibana TSVB可视化,该Kibana TSVB可视化显示了一个特定索引模式的最后创建的Elasticsearch索引的“每秒事件(EPS)”度量。当前,我使用的是使用公式params.count /(params._interval / 1000)< / code>的计数聚合器。
但是,只有当图表的时间表设置为索引中的第一个和最后一个时间戳时,此计算才能准确。否则,将包含空数据集(无论是在索引的时间范围之前还是之后)计算EPS。目前,我必须手动查询索引的最小时间戳,然后在右上角手动将图表的时间范围设置为匹配,然后才能正确计算EPS。
所以我的问题……有没有办法自动这样做?例如,将图表的启动和结束时间表作为变量等于我要查看的特定索引的最小时间戳和最大时间戳?还是忽略了范围时间范围?
谢谢
I am trying to create a Kibana TSVB visualization that displays an “events per second (EPS)” metric for the last created elasticsearch index of a particular index pattern. Currently I’m using a Count aggregator that pipes to the Math aggregator with the formula params.Count / (params._interval / 1000)
.
But this calculation is only accurate if the chart’s timerange is set to exactly the first and last timestamps in the index. Otherwise the empty data sets (both before and after the index’s timeframe) is being included in calculating the EPS. Currently I have to manually query the min/max timestamps of the index and then manually set the chart’s timeframe in the upper right corner to match that, only then it calculates the EPS correctly.
So my question… is there a way to automatically do this? Such as having the chart’s Start and End timerange as variables equal to the Min and Max timestamps of the particular index I’m looking at? Or have it ignore the out of bounds time range?
Thanks
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论