Kibana 在“发现"中没有显示任何结果标签 [英] Kibana doesn't show any results in "Discover" tab

查看:57
本文介绍了Kibana 在“发现"中没有显示任何结果标签的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我设置了 elasticsearch 和 Kibana 来索引我们的应用程序(错误)日志.问题在于 Kibana 不会在发现"选项卡中显示任何数据.

I setup elasticsearch and Kibana for indexing our application (error) logs. The issue is that Kibana doesn't display any data in the "Discover" tab.

现状

  • Elasticsearch 启动并运行,响应 API
  • 直接在 Elasticsearch 上执行查询,如 http://elasticserver.com:9200/applogs/_search?q=* 会返回大量结果(有关单个找到的记录的外观,请参见下文)
  • Kibana 启动并运行,甚至找到了 Elasticsearch 暴露的 applogs 索引
  • Kibana 还显示了 applogs 文档的正确属性和数据类型
  • 发现"选项卡不显示任何结果...即使将时间段设置为几年...
  • Elasticsearch is up and running, responds to API
  • executing a query directly on Elasticsearch like http://elasticserver.com:9200/applogs/_search?q=* returns lots of results (see below on how a single found record looks like)
  • Kibana is up and running, even finds the applogs index exposed by Elasticsearch
  • Kibana also shows the correct properties and data type of the applogs documents
  • "Discover" tab doesn't show any results...even when setting the time period to a couple of years...

有什么想法吗??

以下是Kibana 如何查看applogs 索引:

Here's how Kibana sees the applogs index:

弹性搜索查询结果对象如下所示:

Elastic search query result object looks like this:

{
_index: "applogs",
_type: "1",
_id: "AUxv8uxX6xaLDVAP5Zud",
_score: 1,
_source: {
   appUid: "esb.Idman_v4.getPerson",
   level: "trace",
   message: "WS stopwatch is at 111ms.",
   detail: "",
   url: "",
   user: "bla bla bla",
   additionalInfo: "some more info",
   timestamp: "2015-03-31T15:08:49"
 }
},

..和我在发现标签中看到的:

推荐答案

对于有问题的人喜欢:

在右上角更改时间范围.

Change time frame in top right corner.

默认情况下,它仅显示过去 15 分钟的数据.

这篇关于Kibana 在“发现"中没有显示任何结果标签的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆