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!

Upcoming Webinar: Unmasking Insider Threats with Slunk Enterprise Security’s UEBA

Join us on Wed, Dec 10. at 10AM PST / 1PM EST for a live webinar and demo with Splunk experts! Discover how ...

.conf25 technical session recap of Observability for Gen AI: Monitoring LLM ...

If you’re unfamiliar, .conf is Splunk’s premier event where the Splunk community, customers, partners, and ...

A Season of Skills: New Splunk Courses to Light Up Your Learning Journey

There’s something special about this time of year—maybe it’s the glow of the holidays, maybe it’s the ...