Splunk Dev

Why am I getting this error: splunklib.binding.HTTPError: HTTP 404 Not Found -- Unknown sid when using the Python SDK

EricLloyd79
Builder

I have seen several posts about how getting the HTTP 404 Not Found - Unknown sid error indicates that the search timed out and offers some solutions for how to fix it from the Splunk UI. We are running a script that running a series of queries and about once a week, this daily report fails with this error. It isn't always on the same query, so I cannot point to any specific result-intensive query that is causing the problem.

Is there a way to tell Splunk, via Python, to not time out if the query takes longer? Or some kind of solution for this?

ashraf_adeelaa
New Member

Hi, I am getting the same error. Did you solve it?

0 Karma
Get Updates on the Splunk Community!

Get the T-shirt to Prove You Survived Splunk University Bootcamp

As if Splunk University, in Las Vegas, in-person, with three days of bootcamps and labs weren’t enough, now ...

Introducing the Splunk Community Dashboard Challenge!

Welcome to Splunk Community Dashboard Challenge! This is your chance to showcase your skills in creating ...

Wondering How to Build Resiliency in the Cloud?

IT leaders are choosing Splunk Cloud as an ideal cloud transformation platform to drive business resilience,  ...