Kibana User Guide [4.2] » Visualize » Metric

来源:互联网 发布:mp3编辑软件 编辑:程序博客网 时间:2024/04/30 13:46

Metric

度量标准

A metric visualization displays a single number for each aggregation you select:

为你选择的聚合显示一个单独的数字:

Count 计数
The count aggregation returns a raw count of the elements in the selected index pattern.
索引模式中,元素的原始计数。
Average 平均值
This aggregation returns the average of a numeric field. Select a field from the drop-down.
一个数值字段的平均值,从下拉菜单中选择一个字段。
Sum 综合
The sum aggregation returns the total sum of a numeric field. Select a field from the drop-down.
一个数值字段的总和。
Min 最小值
The min aggregation returns the minimum value of a numeric field. Select a field from the drop-down.
一个数值字段的最小值。
Max 最大值
The max aggregation returns the maximum value of a numeric field. Select a field from the drop-down.
一个数值字段的最大值。
Unique Count 单一计数
The cardinality aggregation returns the number of unique values in a field. Select a field from the drop-down.
去重数据值。
Standard Deviation 标准差
The extended stats aggregation returns the standard deviation of data in a numeric field. Select a field from the drop-down.
一个数值字段的标准差
Percentiles 百分比
The percentile aggregation divides the values in a numeric field into percentile bands that you specify. Select a field from the drop-down, then specify one or more ranges in the Percentiles fields. Click the Xto remove a percentile field. Click + Add to add a percentile field.
一个数值字段中,值的百分比分布。使用X来移除一个百分比框,使用+ Add 来添加百分比框。
Percentile Rank 百分比排名
The percentile ranks aggregation returns the percentile rankings for the values in the numeric field you specify. Select a numeric field from the drop-down, then specify one or more percentile rank values in the Values fields. Click the X to remove a values field. Click +Add to add a values field.
一个数值字段中,你指定值得百分比排名。

You can add an aggregation by clicking the + Add Aggregation button. You can click the Advanced link to display more customization options:

通过+ Add Aggregation按钮增加一个聚集。通过 Advanced 按钮展现更多有关聚合的自定义参数。

JSON Input JSON输入
A text field where you can add specific JSON-formatted properties to merge with the aggregation definition, as in the following example:
一个用来添加JSON格式属性的文本框,内容会合并进聚合的定义中,格式如下例:
{ "script" : "doc['grade'].value * 1.2" }
Note

In Elasticsearch releases 1.4.3 and later, this functionality requires you to enable dynamic Groovy scripting.

在Elasticsearch 1.4.3及以后版本,这个函数需要你开启dynamic Groovy scripting

The availability of these options varies depending on the aggregation you choose.

下面参数是否可用,取决于你选择的聚合函数。

Click the Options tab to change the font used to display the metrics.

点击 Options 标签改变用来展现metrics的字体。

Viewing Detailed Information 查看详细信息

To display the raw data behind the visualization, click the bar at the bottom of the container. Tabs with detailed information about the raw data replace the visualization:

想要展现可视化背后的原始数据,可以点击容器底部的条。关于原始数据的详细信息标签将取代可视化。

Table. A representation of the underlying data, presented as a paginated data grid. You can sort the items in the table by clicking on the table headers at the top of each column.

:对下划线数据的代表,以标页数据格的形式展现。你可以对表中数据线排序,通过点击每个柱顶的表头。

Request. The raw request used to query the server, presented in JSON format.

请求:原始请求被用于请求服务器,以JSON形式展现。

Response. The raw response from the server, presented in JSON format.

响应:来自服务器的原始应答,以JSON形式展现。

Statistics. A summary of the statistics related to the request and the response, presented as a data grid. The data grid includes the query duration, the request duration, the total number of records found on the server, and the index pattern used to make the query.

统计:关于请求和响应统计的摘要,以数据格的形式展现。数据格包括请求持续时间,响应持续时间,服务器创建的总数据记录,被用于请求的索引模式。

To export the raw data behind the visualization as a comma-separated-values (CSV) file, click on either theRaw or Formatted links at the bottom of any of the detailed information tabs. A raw export contains the data as it is stored in Elasticsearch. A formatted export contains the results of any applicable Kibana field formatters.

为了展现以CSV文件存在的可视化背后的原始数据,点击详细信息底部的Raw 或 Formatted 链接。一个原始输出包括保存在ES中的数据。一个格式化的输出包括Kibana格式化应用的结果。


备注:
材料来自elastic官网。
参考整理:
http://kibana.logstash.es/content/kibana/v4/visualize/metric.html
原文地址:
https://www.elastic.co/guide/en/kibana/current/metric-chart.html
0 0
原创粉丝点击