How to show Pie chart?

I have a search query which shows records as

Slow-Speed
High-Speed
High-Speed
High-Speed
High-Speed
Slow-Speed
Slow-Speed

I want to create a pie chart Slow-Speed vs High-Speed. How to do this?

I tried this way, I looked into Add Visualization and then selected the saved query
How do I plot now Slow-Speed vs High-Speed pie chart. I am stuck at this part.

shall I choose split rows , terms , add subbuckets ? I'm confused at this part. I need some help at this part.

Could you please tell what is the correct way to plot the pie chart ?

Hello @volcano

If im understanding correctly, you want to create a pie chart to compare between Slow-Speed vs High-Speed. To accomplish this, you will need to:

  1. Go to Visualize
  2. Add visualization
  3. Select Pie
  4. Select Split Slices under the Buckets section
  5. Select Terms under `Aggregations
  6. Then under the Field section, select the correct field that contains the values of Slow-Speed and `High-Speed.
  7. Click on the play button

You will now have a Pie chart that shows Slow-Speed vs High-Speed. If your Pie chart defaulted to a Donut shape, you can change this under options.

Hope this helps!

How do I select multiple fields?

select support only one field ..right?

If the two values are coming in from different fields, I suggest selecting Filters under aggregations and specifying each one. So first filter would be your_field: Slow-Speed and your next filter would be your_field: High-Speed

Let me know if that makes sense!

okay. Will test this.

1 Like

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