Splunk Enterprise Security

Enterprise Security Correlation Rules

moshahin
Engager

Hi,

How is it possible that a correlation rule is triggering notables based on data dates back to a previous month? 

I have a rule with the below time range modifiers 

moshahin_0-1597408333622.png

It has just been triggered and I tried searching for the matching event for the past day with no luck. 

Expanded my time range to 90 days and I found matching events during the past month only.

Is this scenario familiar to anyone? 

0 Karma

starcher
Influencer

A couple of items. Do not put rt into a modern correlation search. You are likely preventing the search from ending. Continuous tells Splunk to run that search for the time it launched with the window provided. It does not advance the window until the search completes. 

Consider how long a search takes to complete and then choose a suitable search interval such as over the last 30 minutes but run every 15 minutes if the search completes in less than the 15 minutes. If your search takes longer to complete than the run interval you get into time back sliding. Meaning Splunk uses continuous mode to ensure it has no time range gaps but if it takes 45 minutes to complete a search that is launched every 30 you over time get notables farther and farther back in time. If you cannot optimize your search immediately to solve the longer run time than schedule interval change to "Realtime" button in the SplunkES UI which is frankly a misleading term. It is not the same thing as "rt". RT means launch this search and keep it running. The search then sucks up a CPU core and all related resources. Bad idea for your search capacity.  In a SplunkES sense the term means for the UI run at the time launched for the earliest and latest based off that launch time. So you will get event search time coverage gaps but your search will at least run "now" and make notables for "now" vs three days ago as the time slide worsens.

 

0 Karma

MaverickT
Communicator

It is probably not a direct answer to your question. But by looking at your printsceen you have selected Continous scheduling, but in the "Latest Time" is formed in real-time format (rt+5m@m).

0 Karma
Got questions? Get answers!

Join the Splunk Community Slack to learn, troubleshoot, and make connections with fellow Splunk practitioners in real time!

Meet up IRL or virtually!

Join Splunk User Groups to connect and learn in-person by region or remotely by topic or industry.

Get Updates on the Splunk Community!

[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 ...

Splunk Community Badges!

  Hey everyone! Ready to earn some serious bragging rights in the community? Along with our existing badges ...

[Puzzles] Solve, Learn, Repeat: Matching cron expressions

This puzzle (first published here) is based on matching timestamps to cron expressions.All the timestamps ...