Unable to add Group by “label” to an aggregated Pie chart


#1

Apologize in advance if the terms I use are bad, but I am new to this tool, I am trying to build a pie chart that shows out of a series of tests what steps of the test have failed, so imagine this:

Test: {step1: fail, step2:fail, step3: fail, step4: passed}

and I want to represent out of the total of tests that have failed, what are the top 5 steps failing, the data is in Elasticsearch.

I am able to create the Pie chart and represent the data, but I can’t find a way to tell out of the pie chart using the group by function, what are the actual step names, sort of like a Label, all the parts of the pie chart have the same level as the top level query.