Elasticsearch 简明教程

Elasticsearch - Data Tables

数据表是一种用于显示已组合聚合的原始数据的可视化类型。数据表可用于显示各种类型的聚合。为了创建数据表,我们应该仔细了解这里讨论的步骤。

The data table is type of visualization that is used to display the raw data of a composed aggregation. There are various types of aggregations that are presented by using Data tables. In order to create a Data Table, we should go through the steps that are discussed here in detail.

Visualize

在 Kibana 主屏幕中,我们找到了可视化名称选项,可视化名称选项使我们能够从 Elasticsearch 中存储的指标创建可视化和聚合。下图显示了此选项。

In Kibana Home screen we find the option name Visualize which allows us to create visualization and aggregations from the indices stored in Elasticsearch. The following image shows the option.

visualize home page

Select Data Table

接下来,我们在各种可用的可视化选项中选择数据表选项。该选项显示在以下图像 &miuns;

Next, we select the Data Table option from among the various visualization options available. The option is shown in the following image &miuns;

new visualize

Select Metrics

然后,我们选择创建数据表可视化所需指标。此选择决定我们将要使用的聚合类型。为此,我们从电子商务数据集选择以下所示的特定字段。

We then select the metrics needed for creating the data table visualization. This choice decides the type of aggregation we are going to use. We select the specific fields shown below from the ecommerce data set for this.

kibana sample data ecommerce

在对数据表运行上述配置后,我们得到的结果如下图所示 −

On running the above configuration for Data Table, we get the result as shown in the image here −

result of kibana sample data