2015-04-01 23:39:33 +02:00
|
|
|
[[metric-chart]]
|
2015-03-09 06:30:42 +01:00
|
|
|
=== Metric
|
|
|
|
|
|
|
|
A metric visualization displays a single number for each aggregation you select:
|
|
|
|
|
|
|
|
include::y-axis-aggs.asciidoc[]
|
|
|
|
You can click the *Advanced* link to display more customization options:
|
|
|
|
|
|
|
|
*JSON Input*:: A text field where you can add specific JSON-formatted properties to merge with the aggregation
|
|
|
|
definition, as in the following example:
|
|
|
|
|
|
|
|
[source,shell]
|
|
|
|
{ "script" : "doc['grade'].value * 1.2" }
|
|
|
|
|
|
|
|
NOTE: In Elasticsearch releases 1.4.3 and later, this functionality requires you to enable
|
2015-04-02 01:53:00 +02:00
|
|
|
{ref}/modules-scripting.html[dynamic Groovy scripting].
|
2015-03-09 06:30:42 +01:00
|
|
|
|
|
|
|
The availability of these options varies depending on the aggregation you choose.
|
|
|
|
|
2015-05-18 04:31:43 +02:00
|
|
|
Click the *Options* tab to change the font used to display the metrics.
|
2015-11-24 17:25:14 +01:00
|
|
|
|
|
|
|
[float]
|
|
|
|
[[metric-viewing-detailed-information]]
|
|
|
|
==== Viewing Detailed Information
|
|
|
|
|
|
|
|
include::visualization-raw-data.asciidoc[]
|