Alerting

Splunk "real-time" using system resources ?

SS1
Path Finder

Hello SPlunkers,

'real-time' alerts are using up the maximum resources and resulting in skipped searches. does using a cron schedule which runs every 1 minute and the time range of last 61 seconds also cause stress to the system. What would be the ideal time range to use ?

 

SS1_0-1612220063542.png

 

Labels (4)
0 Karma

scelikok
SplunkTrust
SplunkTrust

Every search effects system performance but while it is running. But changing from realtime to scheduled will help for sure.

Each realtime search keeps one CPU core all the time, that is why may causes skipped searches if search concurrency is high. When you change search to scheduled, it will release resources after search finalize. Splunk will be able to use those resource for other searches or processes. 

If you do not need to get that alert immediately, higher is better. It is better to think your response time to alert, if you cannot act immediately there maybe no need to run search realtime or every minute.

 

If this reply helps you an upvote and "Accept as Solution" is appreciated.
0 Karma

scelikok
SplunkTrust
SplunkTrust

Hi @SS1,

If your search does not take more than a minute, scheduled mode will help you a lot. You can use below crontab to run every minute;

* * * * *

 

If this reply helps you an upvote and "Accept as Solution" is appreciated.
0 Karma

SS1
Path Finder

My question is will it affect the perfomance of the splunk system if the cron runs every min?

 

0 Karma
Get Updates on the Splunk Community!

Shape the Future of Splunk: Join the Product Research Lab!

Join the Splunk Product Research Lab and connect with us in the Slack channel #product-research-lab to get ...

Auto-Injector for Everything Else: Making OpenTelemetry Truly Universal

You might have seen Splunk’s recent announcement about donating the OpenTelemetry Injector to the ...

[Puzzles] Solve, Learn, Repeat: Character substitutions with Regular Expressions

This challenge was first posted on Slack #puzzles channelFor BORE at .conf23, we had a puzzle question which ...