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!

Extending Observability Content to Splunk Cloud

Watch Now!   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to leverage ...

More Control Over Your Monitoring Costs with Archived Metrics!

What if there was a way you could keep all the metrics data you need while saving on storage costs?This is now ...

New in Observability Cloud - Explicit Bucket Histograms

Splunk introduces native support for histograms as a metric data type within Observability Cloud with Explicit ...