Splunk Enterprise

savedsearch vs macros for the amount of jobs that are produced in Splunk

robertlynch2020
Motivator

Hi

I have a question about using savedsearch vs macros for the amount of jobs that are produced in Splunk. I have a situation where we must run alerts every 1 minutes looking for issues, the SPL will call multiple other saved searches and then can call more saved searches etc... We have noticed that this sends the number of jobs very high in Splunk. The question is if we used macros and not saved searches would the number of jobs decrease?

Labels (1)
0 Karma
1 Solution

somesoni2
Revered Legend

Assuming the macros are also expanding to a SPL that is used as subsearch, the number of jobs created would be same.  Check if you can merge multiple searches together if they share same base search.

View solution in original post

somesoni2
Revered Legend

Assuming the macros are also expanding to a SPL that is used as subsearch, the number of jobs created would be same.  Check if you can merge multiple searches together if they share same base search.

Get Updates on the Splunk Community!

Announcing Scheduled Export GA for Dashboard Studio

We're excited to announce the general availability of Scheduled Export for Dashboard Studio. Starting in ...

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 GA in US-AWS!

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