简体   繁体   English

使用Kibana 4复制Kibana 3仪表板

[英]Replicate Kibana 3 Dashboard using Kibana 4

I've been using Kibana 3 for event log review for about a year or so and it's worked out great. 我一直在使用Kibana 3进行事件日志审查大约一年左右,而且效果很好。 I can create different dashboards for different types of logs and provide end users (IT folks) with the dashboards they require. 我可以为不同类型的日志创建不同的仪表板,并为最终用户(IT人员)提供所需的仪表板。

In these dashboards I'll have a date histogram, pie charts, and lastly a table of all the documents within the query (the first 500 anyway). 在这些仪表板中,我将有一个日期直方图,饼图,最后是查询中所有文档的表格(无论如何都是前500个)。 All of these in one page that the end users are very happy with. 所有这些都在最终用户非常满意的一页中。

I'm having trouble replicating that in our QA environment that leverages Kibana 4 Beta 3. 我在使用Kibana 4 Beta 3的QA环境中复制它时遇到了麻烦。

I can create dashboards that contain "Visualizations", this being the date histogram and the pie charts. 我可以创建包含“可视化”的仪表板,这是日期直方图和饼图。 I can even do some cool new things since it's based on aggregations. 我甚至可以做一些很酷的新事物,因为它基于聚合。

However, I'm struggling with including a table of the documents within the dashboard. 但是,我正在努力在仪表板中包含一个文档表。 In Kibana 3 I'd add a "table" panel and select the fields I want to view. 在Kibana 3中,我添加了一个“表格”面板,然后选择我想要查看的字段。 It appears this functionality has been replaced by the "Discover" page. 看来此功能已被“发现”页面取代。

Is it possible to accomplish this in Kibana 4? 在Kibana 4中可以做到这一点吗? Right now I have to switch between the Dashboard and Discover page to get what I need. 现在我必须在Dashboard和Discover页面之间切换以获得我需要的东西。 Furthermore, if I click a slice of a pie chart, it creates a filter on the Dashboard page (all graphs are affected), but this doesn't translate to the Discover page so I'd have to create the filter manually. 此外,如果我单击饼图的一个切片,它会在“仪表板”页面上创建一个过滤器(所有图形都会受到影响),但这不会转换为“发现”页面,因此我必须手动创建过滤器。 This is a bit counter intuitive and a bit of a separation from Kibana 3's usability for log review. 这有点反直觉,与Kibana 3的日志审查可用性有点分离。

I'd wager I'm just missing something here. 我打赌我只是在这里遗漏了一些东西。 Hopefully that's the case and someone can help me see the obvious. 希望就是这种情况,有人可以帮我看清楚。 Thanks! 谢谢!

Kibana 4 was released a few days ago ( see announcement ): among other new functionalities, you can now add a search to your dashboard, which results in something similar to the old table you had in Kibana 3. 几天前发布了Kibana 4( 见公告 ):除了其他新功能之外,您现在可以在仪表板中添加搜索,这会产生类似于Kibana 3中的旧表格。

First of all, you need to create and save a search in the Discover page. 首先,您需要在“发现”页面中创建并保存搜索。 Then, if you switch to the Dashboard page, you can add a new visualization and select a saved search, besides widgets your created in the Visualize area: 然后,如果切换到“仪表板”页面,除了在“可视化”区域中创建的小部件外,还可以添加新的可视化并选择已保存的搜索:

在此输入图像描述

You'll get a table showing search results, similar to its Kibana 3 counterpart. 您将获得一个显示搜索结果的表格,类似于其Kibana 3版本。

在此输入图像描述

The table will respond to filters you set directly on the dashboard itself. 该表将响应您直接在仪表板上设置的过滤器。 However, if you want to change the table fields or other search parameters, you'll have to go back to the saved search in the Discover tab and edit it there. 但是,如果要更改表字段或其他搜索参数,则必须在“发现”选项卡中返回已保存的搜索并在其中进行编辑。

实际上,第一个“发现”标签应该重命名为“搜索”!

根据我所听到的,Kibana 4,beta 4将包含此功能。

Just use Kibana 3 and be happy, especially if you need to have identical dashboards for different indexes. 只需使用Kibana 3并感到高兴,特别是如果您需要为不同的索引使用相同的仪表板。 So to do that in K3 you need to change the index pattern and save the dashboard under different name. 因此,要在K3中执行此操作,您需要更改索引模式并以不同的名称保存仪表板。 That's it. 而已。 Whereas in K4 you need do that separately for all the visualizations and then dashboards, well basically you need a script to do that. 而在K4中,您需要为所有可视化和仪表板单独执行此操作,基本上您需要一个脚本来执行此操作。 And yes there is a fork of K3 that supports Elasticsearch 2.X: 是的,有一个支持Elasticsearch 2.X的K3分支:

https://github.com/immunochomik/kibana3 https://github.com/immunochomik/kibana3

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

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