Splunk Search

How to edit my stats search to display a bar chart?

Builder

Hi

I have a data with fields OS and Name. I need to show the count and values of OS for Each Name like on X-axis all Names with bar graph showing OS and its count. Any suggestions?

Search I'm using:

base query.. | stats count(OS) values(OS) by Name

But it's not working as expected.

0 Karma
1 Solution

Legend

Try this

 base query.. 
| chart count over Name by OS
____________________________________________
| makeresults | eval message= "Happy Splunking!!!"

View solution in original post

Legend

Try this

 base query.. 
| chart count over Name by OS
____________________________________________
| makeresults | eval message= "Happy Splunking!!!"

View solution in original post

State of Splunk Careers

Access the Splunk Careers Report to see real data that shows how Splunk mastery increases your value and job satisfaction.

Find out what your skills are worth!