Splunk Search

Find results that are not in a transaction

xtinas
Engager

The data is MFA attempts in O365. I have an alert that fires whenever someone denies an MFA push. The thing is, sometimes someone has just accidentally tapped "deny", and they use MFA successfully in the next minute or two.

Sample data:

_timemsgevent_name
2021-04-28 16:13:49SingleEVENT_CATEGORY_SSO_LOGIN
2021-04-28 16:13:46Multi-factorEVENT_CATEGORY_FACTOR_AUTH_SUCCESS
2021-04-28 16:13:43send_factor_verify_pushEVENT_CATEGORY_UNSPECIFIED
2021-04-28 16:13:38user.mfa.okta_verify.deny_pushEVENT_CATEGORY_UNSPECIFIED
2021-04-28 16:13:28send_factor_verify_pushEVENT_CATEGORY_UNSPECIFIED
2021-04-28 16:13:26LogEVENT_CATEGORY_LOGIN
2021-04-28 16:13:26policy.evaluate_sign_onEVENT_CATEGORY_UNSPECIFIED
2021-04-28 16:13:26message_sent.new_device_notificationEVENT_CATEGORY_UNSPECIFIED


What I want is to filter on messages that contain "deny_push", but that are not followed up with a successful authentication within 5 minutes after the deny_push event.

How on earth do I do that?

Labels (2)
0 Karma
Get Updates on the Splunk Community!

Enter the Dashboard Challenge and Watch the .conf24 Global Broadcast!

The Splunk Community Dashboard Challenge is still happening, and it's not too late to enter for the week of ...

Join Us at the Builder Bar at .conf24 – Empowering Innovation and Collaboration

What is the Builder Bar? The Builder Bar is more than just a place; it's a hub of creativity, collaboration, ...

Combine Multiline Logs into a Single Event with SOCK - a Guide for Advanced Users

This article is the continuation of the “Combine multiline logs into a single event with SOCK - a step-by-step ...