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
SplunkTrust
SplunkTrust

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
SplunkTrust
SplunkTrust

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!

Welcome to the Splunk Community!

(view in My Videos) We're so glad you're here! The Splunk Community is place to connect, learn, give back, and ...

Tech Talk | Elevating Digital Service Excellence: The Synergy of Splunk RUM & APM

Elevating Digital Service Excellence: The Synergy of Real User Monitoring and Application Performance ...

Adoption of RUM and APM at Splunk

    Unleash the power of Splunk Observability   Watch Now In this can't miss Tech Talk! The Splunk Growth ...