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!

Index This | Why did the turkey cross the road?

November 2025 Edition  Hayyy Splunk Education Enthusiasts and the Eternally Curious!   We’re back with this ...

Enter the Agentic Era with Splunk AI Assistant for SPL 1.4

  🚀 Your data just got a serious AI upgrade — are you ready? Say hello to the Agentic Era with the ...

Feel the Splunk Love: Real Stories from Real Customers

Hello Splunk Community,    What’s the best part of hearing how our customers use Splunk? Easy: the positive ...