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

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

问题描述

我设置了弹性搜索和Kibana来索引我们的应用程序(错误)日志。问题是Kibana在发现标签中没有显示任何数据。



当前情况




  • 弹性搜索已启动并运行,响应API

  • 直接在弹性搜索上执行查询,如 http: /elasticserver.com:9200/applogs/_search?q = * 返回很多结果(见下文关于单个发现记录的样子)

  • Kibana是甚至找到Elasticsearch公开的 applogs 索引

  • Kibana还显示了<$ c的正确属性和数据类型$ c> applogs 文件

  • 发现选项卡不显示任何结果...即使将时间段设置为几年...



任何想法?







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

  {
_index:applogs ,
_type:1,
_id:AUxv8uxX6xaLDVAP5Zud,
_score:1,
_source:{
appUid:esb.Idman_v4.ge​​tPerson
level:trace,
message:WS秒表在111ms,
detail:,
url:,
user: bla bla bla,
additionalInfo:some more info,
timestamp:2015-03-31T15:08:49
}
},

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



解决方案

对于有问题的人,如:



更改右上角的时间范围。



默认情况下,它只显示最近15分钟的数据。


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.

Current situation

  • 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...

Any ideas??

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"
 }
},

..and what I see in the discover tab:

解决方案

For people who has problem like this:

Change time frame in top right corner.

By default it shows data only for last 15 min.

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

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