Splunk Search

Search strings which are not starting with ****

kmmanu
New Member

Tthere are logs like below three lines

user name is "fgt56wer"
user name is "****89g4ty5"
user name is "jks4qw"

I want to avoid all lines which starts with user name is "**** from the splunk search result
My expected search output is below :-

user name is "fgt56wer"
user name is "jks4qw"

Can anyone help me to get the regular expression or search query ?

0 Karma

cpetterborg
SplunkTrust
SplunkTrust

Try:

... | regex _raw!="user name is \"\*\*\*"
Get Updates on the Splunk Community!

Index This | I am a number, but when you add ‘G’ to me, I go away. What number am I?

March 2024 Edition Hayyy Splunk Education Enthusiasts and the Eternally Curious!  We’re back with another ...

What’s New in Splunk App for PCI Compliance 5.3.1?

The Splunk App for PCI Compliance allows customers to extend the power of their existing Splunk solution with ...

Extending Observability Content to Splunk Cloud

Register to join us !   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to ...