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!

[Puzzles] Solve, Learn, Repeat: Character substitutions with Regular Expressions

This challenge was first posted on Slack #puzzles channelFor BORE at .conf23, we had a puzzle question which ...

Shape the Future of Splunk: Join the Product Research Lab!

Join the Splunk Product Research Lab and connect with us in the Slack channel #product-research-lab to get ...

Auto-Injector for Everything Else: Making OpenTelemetry Truly Universal

You might have seen Splunk’s recent announcement about donating the OpenTelemetry Injector to the ...