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 Observability for AI

Don’t miss out on an exciting Tech Talk on Splunk Observability for AI!Discover how Splunk’s agentic AI ...

Splunk Enterprise Security 8.x: The Essential Upgrade for Threat Detection, ...

Watch On Demand the Tech Talk, and empower your SOC to reach new heights! Duration: 1 hour  Prepare to ...

Splunk Observability as Code: From Zero to Dashboard

For the details on what Self-Service Observability and Observability as Code is, we have some awesome content ...