I have a problem with my Security Analytics Detector configuration.
My Goal: I want to detect a specific command (input: 'rz') in new logs only.
My Setup:
I am using the Security Analytics plugin.
My Detector is scheduled to run every 1 minute.
The Problem: Every minute when the detector runs, it appears to re-scan all historical logs in my index. It’s not just checking the “latest” logs.
This causes the system to find the same old rz logs from hours (or days) ago and send me the exact same duplicate alert, every single minute.
My Question: How can I configure my Detector (or its Rule) to only check the newest logs (e.g., only data from the last 1-2 minutes) and stop it from scanning all of history?
I just want to be alerted for new events, not old ones repeatedly.
@plane636 I don’t think there is a way to add period in the SA alerts. For the use case you mentioned you should be using alerting module instead of security analytics, which runs using detection rules.