All Apps and Add-ons

response_code 504 and timed_out is False

arielpconsolaci
Path Finder

Good day fellow Splunkers. We have been using Website Monitoring for some Urls, and there is this particular webpage where we are encountering Web Ping Failures/response_code 504.
Can someone advise how is this response code being encountered? Is it also possible to have this error encountered whilst timed_out is False?

Thank you in advance.

Tags (1)
0 Karma

LukeMurphey
Champion

I broke up the response into two parts since there are two questions in the post:

Why this isn't considered a time-out?
The input got a response from the HTTP server which is why this isn't considered a timeout. Let me explain.

The timed_out field indicates that the TCP or HTTP connection timed out by not responding with any data. In this case, the input successfully got an HTTP response with a response code of 504. The 504 response code itself indicates that though the HTTP server responded, it could not connect to some other system for some reason.

Why is the HTTP/504 error happening?
You will need to do some debugging to figure this out. Some things to consider trying are:

  1. Try a different URL on the same site to see if it is limited to the one URL
  2. See if the error is transient (goes away and comes back)
  3. Looking at the web-server logs if you have access to them
  4. Pulling packet captures to see the HTTP connection in case it helps
Get Updates on the Splunk Community!

.conf25 Registration is OPEN!

Ready. Set. Splunk! Your favorite Splunk user event is back and better than ever. Get ready for more technical ...

Detecting Cross-Channel Fraud with Splunk

This article is the final installment in our three-part series exploring fraud detection techniques using ...

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 ...