Security

Easy question.. how do I get just the HTTP response from this log?

tengugurl1
Engager

Hi! 

The log in question reads as:
HTTP/1.1" 200 365 3

in our splunk, we don't have a "HTTP status" field to pivot off of..
So I see that the HTTP response always shows as it does above,
So I'd need a regex that gives me something like:

| rex field=HTTP response  "

 

HTTP/1.1" *** 

0 Karma

nmohammed
Builder
 rex "HTTP\/1\.1\"\s*(?<http_response>\d{3})"

try above

0 Karma
Get Updates on the Splunk Community!

Splunk at Cisco Live 2025: Learning, Innovation, and a Little Bit of Mr. Brightside

Pack your bags (and maybe your dancing shoes)—Cisco Live is heading to San Diego, June 8–12, 2025, and Splunk ...

Splunk App Dev Community Updates – What’s New and What’s Next

Welcome to your go-to roundup of everything happening in the Splunk App Dev Community! Whether you're building ...

The Latest Cisco Integrations With Splunk Platform!

Join us for an exciting tech talk where we’ll explore the latest integrations in Cisco &#43; Splunk! We’ve ...