Pie chart from a single event

Hi,

Is it possible to make a pie chart using the value itself in the top hit event?
for example, I have in my top hit event :
passCount: 3
failCount: 1
skipCount: 0

I want to make a pie chart from that information, could you help me?

1 Like

Is it possible to make a pie chart using the value itself in the top hit event?

Yes, in the metric configuration select top hit. Then select the field you wish to use as the top hit metric.

In the screen shot below, the pie chart is showing the hour_of_day as the pie slice percentage.

Hi Nathan,
Thank you for your answer.

I think you misunderstood my question.
I am trying to take only the last event(top hit) and look at it "micro" and not "macro".

My meaning is - the pie chart will take the name of a field, take the value it has, and will show it in a pie chart.
Just like my example, my pie chart will be 75% passCount, and 25% failCount.

Thanks.

That is what top hit will do. It will take the value from the first document for the group based on sort configuration.

The top hit is passCount:6 failCount:0

the answer here
field - failConut:0
value - 1(100%)

Can i ask what version you are running?

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