All Apps and Add-ons

How to search for a value in stats table?

mgubser
Explorer

I am getting the relevant data from multiple events and combining it in stats by device. I created the dashboard I wanted but I am now working on the drill down. I am unsure how to search for a value in this stats table i have created. I need to be able to look for the exact string, any string, as well as no string. I am aware of using eval and like but that creates a field that returns 1 or 0 and seems too long and inefficient when searching for multiple fields on one search.

0 Karma
1 Solution

jcoates_splunk
Splunk Employee
Splunk Employee

really just putting an answer here because it keeps popping up in a filter...
1) this hasn't anything to do with Add-on for Nessus
2) I believe this is the best answer http://blogs.splunk.com/2014/04/01/search-command-stats-eventstats-and-streamstats-2/ -- but it might be simpler to use a map or subsearch? The way I've learned is to gather all the data together in the leftmost portions of your search and then tabulate.

View solution in original post

0 Karma

jcoates_splunk
Splunk Employee
Splunk Employee

really just putting an answer here because it keeps popping up in a filter...
1) this hasn't anything to do with Add-on for Nessus
2) I believe this is the best answer http://blogs.splunk.com/2014/04/01/search-command-stats-eventstats-and-streamstats-2/ -- but it might be simpler to use a map or subsearch? The way I've learned is to gather all the data together in the leftmost portions of your search and then tabulate.

0 Karma
Get Updates on the Splunk Community!

.conf25 Community Recap

Hello Splunkers, And just like that, .conf25 is in the books! What an incredible few days — full of learning, ...

Splunk App Developers | .conf25 Recap & What’s Next

If you stopped by the Builder Bar at .conf25 this year, thank you! The retro tech beer garden vibes were ...

Congratulations to the 2025-2026 SplunkTrust!

Hello, Splunk Community! We are beyond thrilled to announce our newest group of SplunkTrust members!  The ...