Splunk Search

Best way to obtain event counts from a massive search

rmcdougal
Path Finder

Specifically, I am attempting to gather a count of firewall denies per day over an entire month. Running that search takes quite a long time. I am wondering if there is a more efficient way to perform this search than just performing the search and waiting for the results.

sourcetype=cisco_asa eventtype=cisco_firewall eventtype=firewall_deny | count by dest_ip

Is there a way to run the search for a one day period and store the count in a csv and then pull from the csv? Or is there something else?

Tags (1)
0 Karma

martin_mueller
SplunkTrust
SplunkTrust

This sounds like the perfect task for either summary indexing or report acceleration, depending on your specific needs and preferences.

Get Updates on the Splunk Community!

Stay Connected: Your Guide to May Tech Talks, Office Hours, and Webinars!

Take a look below to explore our upcoming Community Office Hours, Tech Talks, and Webinars this month. This ...

They're back! Join the SplunkTrust and MVP at .conf24

With our highly anticipated annual conference, .conf, comes the fez-wearers you can trust! The SplunkTrust, as ...

Enterprise Security Content Update (ESCU) | New Releases

Last month, the Splunk Threat Research Team had two releases of new security content via the Enterprise ...