Splunk Search

How to create a Pie Chart of particular events as percentage of all events?

ForeverNoob2
Engager

Hi. I am new to Splunk. I want to create a Pie Chart that consists of a particular type of event as a percentage of all events.

For example, all events that contain the word Linux, i would like to represent as a percentage of total events.

What would the search query be for this?

Thank you.

Labels (2)
Tags (1)
0 Karma
1 Solution

tscroggins
Influencer

@ForeverNoob2 

Pie charts only require two fields: a category and a count.

E.g.:

*
| eval os=if(like(_raw, "%Linux%"), "Linux", "Other")
| stats count by os

View solution in original post

tscroggins
Influencer

@ForeverNoob2 

Pie charts only require two fields: a category and a count.

E.g.:

*
| eval os=if(like(_raw, "%Linux%"), "Linux", "Other")
| stats count by os

ForeverNoob2
Engager

Super. Thank you.

Get Updates on the Splunk Community!

Welcome to the Splunk Community!

(view in My Videos) We're so glad you're here! The Splunk Community is place to connect, learn, give back, and ...

Tech Talk | Elevating Digital Service Excellence: The Synergy of Splunk RUM & APM

Elevating Digital Service Excellence: The Synergy of Real User Monitoring and Application Performance ...

Adoption of RUM and APM at Splunk

    Unleash the power of Splunk Observability   Watch Now In this can't miss Tech Talk! The Splunk Growth ...