How to pick the value of the integer

Hi, I just wanted to make a simple graph that the x-axis is supposed to be the name of the student and the y-axis is the age of the student.

But I am kinda confused about how to set the metrics.

This is almost what it will be like but for the y-axis, I chose the avg to make this graph.
So how do I just pick the value of the age for the y-axis. It seems there are only options for aggregation.

my data format is
{"name" : "Alice", "age" : 17}

The visualization builder does not know that your terms aggregation is yielding buckets with one document each in it. So, that is why you are being asked to choose an aggregation and not a value.

So how could I achieve the effect I wanted as above by using visulization builder

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.