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
Got questions? Get answers!

Join the Splunk Community Slack to learn, troubleshoot, and make connections with fellow Splunk practitioners in real time!

Meet up IRL or virtually!

Join Splunk User Groups to connect and learn in-person by region or remotely by topic or industry.

Get Updates on the Splunk Community!

Announcing Modern Navigation: A New Era of Splunk User Experience

We are excited to introduce the Modern Navigation feature in the Splunk Platform, available to both cloud and ...

Modernize your Splunk Apps – Introducing Python 3.13 in Splunk

We are excited to announce that the upcoming releases of Splunk Enterprise 10.2.x and Splunk Cloud Platform ...

Step into “Hunt the Insider: An Splunk ES Premier Mystery” to catch a cybercriminal ...

After a whole week of being on call, you fell asleep on your keyboard, and you hit a sequence of buttons that ...