Hello, I need to setup an alert that triggers if I got an event on an specific timeshift. The reason is that in my company there are employees which connects to an AWS Workspace and when they log in out of their shift Security department needs to be updated.
This is the main search request:
(index=aws_description sourcetype="aws:cloudwatchlogs") ( NOT eni ) actionType"successfulLogin"
and I'm not pretty sure how to place it into a time range and get a triger when I get an event from 19:00 PM until 06:00 AM
So far the alert runs on Cron Schedule in a time range "last 5 mins" and a Cron expression 0/5 **** in order to check every 5 minuts, but it will get me all the time range and I only need the metioned below.