Splunk Search

Concurrent scheduled saved searches

bckq
Path Finder

I have about 50 saved scheduled searches that run every minute. And now, there is a situation that every minute those searches are calculating all in one time and my CPU has got a high load that time. Is it possible to rebalance those saved searches to run through all 60 seconds, not all in one time?

0 Karma
1 Solution

yannK
Splunk Employee
Splunk Employee

The scheduler is based on a cron implementation, so I assume that the minute is the smallest interval.

Here are some tracks :

  • make an enhancement request.
  • group some searches that are similar into a single alert with a field for the details of the type of alert.
  • add more dedicated search-heads (if the indexers still have room for concurrent searches)

[EDIT] for details about the scheduler behavior http://docs.splunk.com/Documentation/Splunk/4.3.4/Knowledge/Schedulesearchpriority

View solution in original post

0 Karma

znaesh
Path Finder

Can enable skewing or schedule a bash script that spawns particular search requests every second.

0 Karma

yannK
Splunk Employee
Splunk Employee

The scheduler is based on a cron implementation, so I assume that the minute is the smallest interval.

Here are some tracks :

  • make an enhancement request.
  • group some searches that are similar into a single alert with a field for the details of the type of alert.
  • add more dedicated search-heads (if the indexers still have room for concurrent searches)

[EDIT] for details about the scheduler behavior http://docs.splunk.com/Documentation/Splunk/4.3.4/Knowledge/Schedulesearchpriority

0 Karma
Get Updates on the Splunk Community!

[Puzzles] Solve, Learn, Repeat: Dynamic formatting from XML events

This challenge was first posted on Slack #puzzles channelFor a previous puzzle, I needed a set of fixed-length ...

Enter the Agentic Era with Splunk AI Assistant for SPL 1.4

  🚀 Your data just got a serious AI upgrade — are you ready? Say hello to the Agentic Era with the ...

Stronger Security with Federated Search for S3, GCP SQL & Australian Threat ...

Splunk Lantern is a Splunk customer success center that provides advice from Splunk experts on valuable data ...