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!

Index This | Why did the turkey cross the road?

November 2025 Edition  Hayyy Splunk Education Enthusiasts and the Eternally Curious!   We’re back with this ...

Enter the Agentic Era with Splunk AI Assistant for SPL 1.4

  🚀 Your data just got a serious AI upgrade — are you ready? Say hello to the Agentic Era with the ...

Feel the Splunk Love: Real Stories from Real Customers

Hello Splunk Community,    What’s the best part of hearing how our customers use Splunk? Easy: the positive ...