Splunk Search

newbie question

simplywibble
New Member

Hi

basic question.

How do i search data and return results on content that has a colon in it?

Such as

Server: Apache
Server: Apache/2.2.3

or

Content-Length: 200

Do i need to use regex to break it out?

Thanks

Dan

Tags (3)
0 Karma

somesoni2
Revered Legend

As far as I have seen, you can directly provide the content in the search and it works with (best practice) or without quotes.
e.g. index=abc http://

index=abc "http://"

0 Karma

anssntaco
Path Finder

surrounding the search string in double quotes should be sufficient (ie. "Server: Apache"). Is that not working?

0 Karma

simplywibble
New Member

The data is in JSOn format, would that make a difference?

0 Karma
Get Updates on the Splunk Community!

Stay Connected: Your Guide to May Tech Talks, Office Hours, and Webinars!

Take a look below to explore our upcoming Community Office Hours, Tech Talks, and Webinars this month. This ...

They're back! Join the SplunkTrust and MVP at .conf24

With our highly anticipated annual conference, .conf, comes the fez-wearers you can trust! The SplunkTrust, as ...

Enterprise Security Content Update (ESCU) | New Releases

Last month, the Splunk Threat Research Team had two releases of new security content via the Enterprise ...