When you visualize, say using a "Vertical Bar" visualization, you need to create groupings (obtained from the aggregation) in order to get the values needed to generate the visualization.
So let's assume you want to create a vertical bar chart with the bars representing the site which goes on the X-axis. Here you need to create a bucket aggregation on the site field, and this will create the groupings, look at the example below using similar sample data as yours.
That's not all. After defining this grouping based on site, you can then apply a metric aggregation on top of each of these groups (i.e., bars). I selected Max aggregation applied to the percent field -- this will render the values that will be used for the Y-axis. Since we only have one value for each corresponding site, the max value of that (which is the same value returned) will be used to represent the quantity (height) of each bar for each site.
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.