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!

Automatic Discovery Part 1: What is Automatic Discovery in Splunk Observability Cloud ...

If you’ve ever deployed a new database cluster, spun up a caching layer, or added a load balancer, you know it ...

Real-Time Fraud Detection: How Splunk Dashboards Protect Financial Institutions

Financial fraud isn't slowing down. If anything, it's getting more sophisticated. Account takeovers, credit ...

Splunk + ThousandEyes: Correlate frontend, app, and network data to troubleshoot ...

 Are you tired of troubleshooting delays caused by siloed frontend, application, and network data? We've got a ...