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!

What's new in Splunk Cloud Platform 9.1.2312?

Hi Splunky people! We are excited to share the newest updates in Splunk Cloud Platform 9.1.2312! Analysts can ...

What’s New in Splunk Security Essentials 3.8.0?

Splunk Security Essentials (SSE) is an app that can amplify the power of your existing Splunk Cloud Platform, ...

Let’s Get You Certified – Vegas-Style at .conf24

Are you ready to level up your Splunk game? Then, let’s get you certified live at .conf24 – our annual user ...