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!

Announcing Scheduled Export GA for Dashboard Studio

We're excited to announce the general availability of Scheduled Export for Dashboard Studio. Starting in ...

Extending Observability Content to Splunk Cloud

Watch Now!   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to leverage ...

More Control Over Your Monitoring Costs with Archived Metrics GA in US-AWS!

What if there was a way you could keep all the metrics data you need while saving on storage costs?This is now ...