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!

.conf24 | Registration Open!

Hello, hello! I come bearing good news: Registration for .conf24 is now open!   conf is Splunk’s rad annual ...

ICYMI - Check out the latest releases of Splunk Edge Processor

Splunk is pleased to announce the latest enhancements to Splunk Edge Processor.  HEC Receiver authorization ...

Introducing the 2024 SplunkTrust!

Hello, Splunk Community! We are beyond thrilled to announce our newest group of SplunkTrust members!  The ...