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!

Splunk Mobile: Your Brand-New Home Screen

Meet Your New Mobile Hub  Hello Splunk Community!  Staying connected to your data—no matter where you are—is ...

Introducing Value Insights (Beta): Understand the Business Impact your organization ...

Real progress on your strategic priorities starts with knowing the business outcomes your teams are delivering ...

Enterprise Security (ES) Essentials 8.3 is Now GA — Smarter Detections, Faster ...

As of today, Enterprise Security (ES) Essentials 8.3 is now generally available, helping SOC teams simplify ...