简体   繁体   English

空Kibana屏幕,Kibana未显示数据

[英]Empty Kibana Screen, Kibana not showing Data

Getting empty/blank screen (except for a few buttons on the top toolbar) in kibana. 在kibana中获得空白屏幕(顶部工具栏上的几个按钮除外)。

I have elasticsearch 3.3.2 running on my localhost. 我在本地主机上运行了Elasticsearch 3.3.2。 I downloaded kibana-3.1.2. 我下载了kibana-3.1.2。 I unzipped the file and copied the contents of the extracted directory into my webserver. 我解压缩了文件,然后将提取的目录的内容复制到我的Web服务器中。 I copied then into "C:\\inetpub\\wwwroot". 然后,我将其复制到“ C:\\ inetpub \\ wwwroot”中。 The config.js file is unmodified, because I am running on localhost and this will work for now. config.js文件未修改,因为我正在localhost上运行,并且现在可以使用。 The kibana folder now shows up in ISS under default Web site. 现在,kibana文件夹显示在ISS的默认网站下。

![enter image description here][1] ![在此处输入图片描述] [1]

When I have an instance of elasticsearch running (verified by entering http://localhost:9200 in web browser) 当我有一个Elasticsearch实例正在运行时(通过在网络浏览器中输入http://localhost:9200进行验证)

I enter "http://localhost/kibana-3.1.2/" into my web browser (I have tried this in chrome and firefox). 我在网络浏览器中输入"http://localhost/kibana-3.1.2/" (我已经在chrome和firefox中尝试过)。 This automatically redirects me to "http://localhost/kibana-3.1.2/#/dashboard/file/default.json" and shows the template of the kibana page but I can't do anything in it, and it doesn't have a "getting started guide" like the instillation instructions said there would be. 这会自动将我重定向到"http://localhost/kibana-3.1.2/#/dashboard/file/default.json"并显示kibana页面的模板,但我无法在其中执行任何操作,而且它也没有像说的那样有“入门指南”。

![enter image description here][2] ![在此处输入图片描述] [2]

I don't know what I have missed or what I did wrong. 我不知道我错过了什么或做错了什么。

The problem is most likely that the Kibana javascript is unable to load default.json from IIS. 问题很可能是Kibana javascript无法从IIS加载default.json。 You need to add a MIME Type mapping for the .json extension. 您需要为.json扩展名添加MIME类型映射。 Map it to application/json. 将其映射到application / json。

If you still get an empty dashboard, change the application pool used by the site to "No Managed Code" and "Classic" and recycle the application pool. 如果仍然显示为空的仪表板,请将站点使用的应用程序池更改为“无托管代码”和“经典”,然后回收该应用程序池。

Did you set the elasticsearch: " http://localhost:9200 " in kibana.yml? 您是否在kibana.yml中设置了elasticsearch:“ http:// localhost:9200 ”? Otherwise it might be the nginx configuration (that was the case for me). 否则,可能是nginx配置(对我而言就是这种情况)。 BTW, an easy way to check is to download the Kibana 4 Beta which doesn't run on port 80 and doesn't require nginx (or other)... 顺便说一句,一种简单的检查方法是下载Kibana 4 Beta,它不在80端口上运行,并且不需要nginx(或其他)...

You have to run Kibana 3 with tomcat server.. copy kibana folder into tomcat server,webapps folder... and run with the link "localhost:8080/kibana-3.1.2" (8080 ----> Give as per your tomcat port). 您必须使用tomcat服务器运行Kibana 3。.将kibana文件夹复制到tomcat服务器,webapps文件夹...,然后使用链接“ localhost:8080 / kibana-3.1.2”运行(8080 ---->根据您的给定tomcat端口)。

Now your kibana will start. 现在您的木片将开始。

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

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