Create custom label for pie chart

I am new for elasticsearch and kibana while creating visualization i have faced a small issue.
In the following image you can see the labels are set to 1,2,3,4,5. Instead of these i want the name of that highest count person which is mapped in same index with field name as name

Is there any possible way to acheive this

which version of the stack are you on ? This is already available in the later versions.


I am using kibana and elastic search with 7.5 version.
I have seen a option to give custom label, this label will be static i want something more like dynamic.
But, In my index pattern i am having name(string),pub_no(number), when i am using pie chart to display top 5 based on count of pub_no i want the label as name of that particular count. I want it to change name dynamically as some new user gets in the top, instead of changing the label manually.

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