简体   繁体   English

查询Kibana的最新数据

[英]Querying Kibana for the Latest Data

I have an ELK (ElasticSearch, Logstash, & Kibana) stack running on an Azure VM (VM is running Windows Server 2012). 我有一个运行在Azure VM(VM运行Windows Server 2012)上的ELK(ElasticSearch,Logstash和Kibana)堆栈。 Data points are successfully coming in, and I can obviously query those. 数据点已成功传入,我显然可以查询它们。

I'm having issues with more advanced queries. 我在使用更高级的查询时遇到问题。 I've read the documentation on ElasticSearch's site extensively, and googled around but I can't seem to find anything regarding my issues. 我已经阅读了ElasticSearch 网站上的大量文档,并在Google周围搜索,但似乎找不到关于我的问题的任何信息。 I would like to be able to query Kibana for the latest data points for a couple of things. 我希望能够在Kibana上查询一些最新数据。 For example, for each GUID (unit ID), three data points are logged (one for temp, one for vibration, etc.) and I would like to be able to query for the latest point of each of these. 例如,对于每个GUID(单元ID),将记录三个数据点(一个用于温度,一个用于振动等),我希望能够查询每个数据的最新点。

I can query by name and timestamp, but I have not see any documentation or information regarding how to pull only the latest data point. 我可以按名称和时间戳进行查询,但是我没有看到有关如何仅提取最新数据点的任何文档或信息。 I was thinking it may work to query for a range of data points (making the range small enough that only the newest point would be between the bounds), but that sounds rather inefficient, and if there's a way to do it better I would prefer to go that route. 我以为查询一定范围的数据点可能会起作用(将范围缩小得足够小,以至只有最新的点在边界之间),但这听起来效率很低,如果有更好的方法,我希望走那条路。

Thanks! 谢谢!

看起来像一个开放的问题其他

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM