Splunk Search

Creating a chart by search terms

beaumygod
New Member

If I have several terms I am searching for such as:

john OR frank OR mary OR jim OR jeff

How would I then create a chart of the sum or percentage of each search term, such as john returns 20 of 100 total results and is therefore 20% of the pie chart...

Tags (1)
0 Karma

ytamura
Path Finder

If you create a field that contains those names, you can just use the top command:

john OR frank OR mary OR jim OR jeff | top name

Field extractions can be predefined or done on the fly. Resource for field extraction: http://docs.splunk.com/Documentation/Splunk/latest/User/ExtractNewFields

Resource for top command:
http://docs.splunk.com/Documentation/Splunk/latest/SearchReference/top

0 Karma
Get Updates on the Splunk Community!

Extending Observability Content to Splunk Cloud

Register to join us !   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to ...

What's new in Splunk Cloud Platform 9.1.2312?

Hi Splunky people! We are excited to share the newest updates in Splunk Cloud Platform 9.1.2312! Analysts can ...

What’s New in Splunk Security Essentials 3.8.0?

Splunk Security Essentials (SSE) is an app that can amplify the power of your existing Splunk Cloud Platform, ...