Getting Data In

Excluding search results ending with a $ sign

kluey
Explorer

I am writing a Windows Security Log search for user accounts and have the eventID I need to search for but the results not only return user accounts, but also computer accounts ending with a $ sign. Ex., user= Win-w7dc008$ and user=jsmith. How do I get my search to ignore user accounts ending with a $ sign and only return user=jsmith?

This is what I am using with no luck.

NOT user=\"\w*\"

TIA

0 Karma
1 Solution

lguinn2
Legend

Try this

yoursearchhere
| regex user!="\$$"

View solution in original post

lguinn2
Legend

Try this

yoursearchhere
| regex user!="\$$"

kluey
Explorer

Worked perfectly. Thanks!

0 Karma
Get Updates on the Splunk Community!

Updated Team Landing Page in Splunk Observability

We’re making some changes to the team landing page in Splunk Observability, based on your feedback. The ...

New! Splunk Observability Search Enhancements for Splunk APM Services/Traces and ...

Regardless of where you are in Splunk Observability, you can search for relevant APM targets including service ...

Webinar Recap | Revolutionizing IT Operations: The Transformative Power of AI and ML ...

The Transformative Power of AI and ML in Enhancing Observability   In the realm of IT operations, the ...