Splunk Search

Searching for exact string match

rgjnnc
New Member

Hi ,

I have logs like this

a) 04:55:21.8630 Info {"message":"16 A Process completed, notification displayed"
b)04:55:21.8630 Info {"message":"Process completed"

Here i need to search for exactly "Process Completed" string. It should give exact match result.

Tags (2)
0 Karma

to4kawa
Ultra Champion
index=foo "\"Process completed\""
0 Karma

rgjnnc
New Member

Worked fine...Thanks a lot

0 Karma

to4kawa
Ultra Champion

please accept answer and happy splunking.

0 Karma

richgalloway
SplunkTrust
SplunkTrust

Have you tried index=foo "Process Completed" ?

---
If this reply helps you, Karma would be appreciated.

rgjnnc
New Member

Hi,

I tried this but this is also giving me "16 A Process completed, notification displayed"

0 Karma
Get Updates on the Splunk Community!

Index This | I’m short for "configuration file.” What am I?

May 2024 Edition Hayyy Splunk Education Enthusiasts and the Eternally Curious!  We’re back with a Special ...

New Articles from Academic Learning Partners, Help Expand Lantern’s Use Case Library, ...

Splunk Lantern is a Splunk customer success center that provides advice from Splunk experts on valuable data ...

Your Guide to SPL2 at .conf24!

So, you’re headed to .conf24? You’re in for a good time. Las Vegas weather is just *chef’s kiss* beautiful in ...