Created
June 19, 2025 03:44
-
-
Save rezamt/22224232238f5c42422c5063d08e6d63 to your computer and use it in GitHub Desktop.
Splunk Regex
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| eval policy_result_pairs=mvzip('properties.appliedConditionalAccessPolicies{}.displayName', 'properties.appliedConditionalAccessPolicies{}.result', ":") | |
| mvexpand policy_result_pairs | |
| rex field=policy_result_pairs "^(?<policy_name>[^:]+):(?<policy_result>.+)$" | |
| search (policy_name="policy1" OR policy_name="policy2") AND policy_result="failure" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment