For one of the Security usecase, we need to extract Group Memberships from the Domain. The trickier part is some of the Group Memberships doesnt have domain name in front of it.
I am attaching the Regex link which is working fine on Regex101-
but for some strange reasons, when i use the same regex on Splunk its not working.
This is to extract Group membership on EventCode=4627
Could anyone help me here..
Can you elaborate what you mean by "same regex is not working on Splunk"?
One problem may be that you are not using any names for the groups, so Splunk does not know what to name the field.
Also, if you need multiple matches, try using the max_match option.