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!

Updated Team Landing Page in Splunk Observability

We’re making some changes to the team landing page in Splunk Observability, based on your feedback. The ...

New! Splunk Observability Search Enhancements for Splunk APM Services/Traces and ...

Regardless of where you are in Splunk Observability, you can search for relevant APM targets including service ...

Webinar Recap | Revolutionizing IT Operations: The Transformative Power of AI and ML ...

The Transformative Power of AI and ML in Enhancing Observability   In the realm of IT operations, the ...