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!

Fastest way to demo Observability

I’ve been having a lot of fun learning about Kubernetes and Observability. I set myself an interesting ...

September Community Champions: A Shoutout to Our Contributors!

As we close the books on another fantastic month, we want to take a moment to celebrate the people who are the ...

Splunk Decoded: Service Maps vs Service Analyzer Tree View vs Flow Maps

It’s Monday morning, and your phone is buzzing with alert escalations – your customer-facing portal is running ...