Elasticsearch 简明教程

Elasticsearch - Kibana Dashboard

Kibana 仪表盘是可视化和搜索的集合。你可以布置、调整和编辑仪表盘内容,然后保存仪表盘以供共享。在本章中,我们将了解如何创建和编辑仪表盘。

A Kibana dashboard is a collection of visualizations and searches. You can arrange, resize, and edit the dashboard content and then save the dashboard so you can share it. In this chapter, we will see how to create and edit a dashboard.

Dashboard Creation

在 Kibana 首页中,从左侧控制栏中选择仪表盘选项,如下所示。这将提示你创建一个新仪表盘。

From the Kibana Homepage, select the dashboard option from the left control bars as shown below. This will prompt you to create a new dashboard.

dashboard creation

若要向仪表盘添加可视化,我们选择“添加”菜单,然后从提供的预置可视化中选择。我们从列表中选择了以下可视化选项。

To Add visualizations to the dashboard, we choose the menu Add and the select from the pre-built visualizations available. We chose the following visualization options from the list.

add new visualization

在选择上述可视化后,我们得到的仪表盘如下所示。我们稍后可以添加并编辑仪表盘,更改元素和添加新元素。

On selecting the above visualizations, we get the dashboard as shown here. We can later add and edit the dashboard for changing the elements and adding the new elements.

edit sales dashboard

Inspecting Elements

我们可以通过选择可视化面板菜单并选择 Inspect 来检查仪表盘元素。这将展示元素背后的数据,这些数据也可以下载。

We can inspect the Dashboard elements by choosing the visualizations panel menu and selecting Inspect. This will bring out the data behind the element which also can be downloaded.

inspecting elements

Sharing Dashboard

我们可以通过选择共享菜单并选择获取超链接的选项来共享仪表盘,如下所示:

We can share the dashboard by choosing the share menu and selecting the option to get a hyperlink as shown below −

sharing dashboard