Hi @gsmith, I work with @DomenicoLicciardi at this project⊠Iâll try to add some details.
This is the Event definition:
Search Query: Operation:UserLoggedIn OR Operation:MailboxLogin
Search within the last 1 hour
Execute search every 10 minutes
Group by Field(s): UserId
Condition: card(ClientIP_country_code) > 1
We want to identify Users that log in from different country in a small timeframe (1 hour).
The Event is triggered correctly, and if we run again the query in the console we can find the expected details.
We would expect to have a backlog with only events that contributed to trigger the alert. Isnât that true?
This is the kind of backlog we get:
--- [Backlog] ------------------------------------
Last messages accounting for this alert:
{index=o365_0, message=-, timestamp=2021-04-02T06:33:04.000Z, ..., UserId=user02@example.com, ...
{index=o365_0, message=-, timestamp=2021-04-02T06:34:17.000Z, ..., UserId=user03@example.com, ...
{index=o365_0, message=-, timestamp=2021-04-02T06:34:24.000Z, ..., UserId=user04@example.com, ...
{index=o365_0, message=-, timestamp=2021-04-02T06:34:52.000Z, ..., UserId=user05@example.com, ...
{index=o365_0, message=-, timestamp=2021-04-02T06:37:04.000Z, ..., UserId=user06@example.com, ...
{index=o365_0, message=-, timestamp=2021-04-02T06:37:38.000Z, ..., UserId=user06@example.com, ...
{index=o365_0, message=-, timestamp=2021-04-02T06:37:46.000Z, ..., UserId=user06@example.com, ...
{index=o365_0, message=-, timestamp=2021-04-02T06:37:58.000Z, ..., UserId=user07@example.com, ...
{index=o365_0, message=-, timestamp=2021-04-02T06:38:43.000Z, ..., UserId=user08@example.com, ...
{index=o365_0, message=-, timestamp=2021-04-02T06:39:25.000Z, ..., UserId=user09@example.com, ...
Do we find in backlog ALL the messages that match the âSearch Querryâ or only the messages that contributed to trigger the condition (which should be all with the same UserId) ?
Thanks for your help.