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!

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 ...

.conf24 | Registration Open!

Hello, hello! I come bearing good news: Registration for .conf24 is now open!   conf is Splunk’s rad annual ...

ICYMI - Check out the latest releases of Splunk Edge Processor

Splunk is pleased to announce the latest enhancements to Splunk Edge Processor.  HEC Receiver authorization ...