Splunk Search

How to discard users that start with a urn:forms:anonymous#?

Netza
Engager

I have some users that start with urn:forms:anonymous# in my lookup
I was trying to to discard them use urn:forms:anonymous#*

 i guess i have to use regex to bring al the users to start like this urn:forms:anonymous#

Labels (3)
0 Karma

SplunkyTUM
Engager

You could try to add a filter in your lookup definition.

Assuming the field/column in your csv file that contains the users is called "user":

Open the lookup definition, check Advanced options, add

user!="urn:forms:anonymous#*"

under Filter lookup.

isoutamo
SplunkTrust
SplunkTrust

Hi

here is one example how you could do it https://community.splunk.com/t5/Splunk-Search/Where-to-find-unmatched-regex-events/m-p/440340. If you are not needing those on your lookup, then create it without those.

r. Ismo

0 Karma
Get Updates on the Splunk Community!

Enterprise Security Content Update (ESCU) | New Releases

In December, the Splunk Threat Research Team had 1 release of new security content via the Enterprise Security ...

Why am I not seeing the finding in Splunk Enterprise Security Analyst Queue?

(This is the first of a series of 2 blogs). Splunk Enterprise Security is a fantastic tool that offers robust ...

Index This | What are the 12 Days of Splunk-mas?

December 2024 Edition Hayyy Splunk Education Enthusiasts and the Eternally Curious!  We’re back with another ...