Displaying n-greatest values in a field

Suppose my type has an integer field and a name field.

The Top N query is able to find the top N-highest values of the integer field, how do I link it back to the corresponding name field?

For example, I would want a histogram displaying the n-highest documents based on the integer field, but I'd also want to show the name field on the legend of the histogram

Add another sub-split field? So you can see what it is.

Thanks for the response.

What is a sub-split? I'm using Kibana 3.0

I'm not sure you can easily do this in K3, but in K4 you can do it with something like this, as @eperry suggests.

1 Like

exactly :smile: