Splunk Search

string search

innomius
New Member

with which command do you look for a certain string in search?

Tags (1)
0 Karma
1 Solution

linu1988
Champion

Hello,
You can put specific strings with quotes like

sourcetype=x "string"|..../sourcetype=x NOT "string"|....

this will give you the events containing/not with the string.

Or you can go for match/searchmatch in eval

http://docs.splunk.com/Documentation/Splunk/5.0.4/SearchReference/CommonEvalFunctions

Thanks

View solution in original post

linu1988
Champion

Hello,
You can put specific strings with quotes like

sourcetype=x "string"|..../sourcetype=x NOT "string"|....

this will give you the events containing/not with the string.

Or you can go for match/searchmatch in eval

http://docs.splunk.com/Documentation/Splunk/5.0.4/SearchReference/CommonEvalFunctions

Thanks

cpeteman
Contributor

or if it is only one string not a type of strings just put quotes around it in the search

0 Karma

cpeteman
Contributor
0 Karma
Get Updates on the Splunk Community!

Threat Hunting Unlocked: How to Uplevel Your Threat Hunting With the PEAK Framework ...

WATCH NOWAs AI starts tackling low level alerts, it's more critical than ever to uplevel your threat hunting ...

Splunk APM: New Product Features + Community Office Hours Recap!

Howdy Splunk Community! Over the past few months, we’ve had a lot going on in the world of Splunk Application ...

Index This | Forward, I’m heavy; backward, I’m not. What am I?

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