Splunk Search

Is "unknown sid" and "The search job 'xxxxxxxxxxx.xxx_xxxxxxxxxx-xxx-xxx-x-xxxxxxxxxx was canceled remotely or expired" really a "feature"?

proletariat99
Communicator

If I leave my Splunk WebUI dormant for a bit (I think about 30m), I get the following error message with scary, red, exclamation point triangles.

alt text

While it's not a big deal operationally, it's annoying and makes us look like we have a system that is error-prone to our less-splunk-savvy customers. Our Splunk contacts advise us that this is how it's supposed to work and that this is a "feature" for expired searches.

While I understand that the search results expire, is there some way to get rid of the error message or change it to something useful and less-scary? Perhaps something like "These search results are old... don't trust them... re-run your search if you want updated data."

Tags (1)
0 Karma

muebel
SplunkTrust
SplunkTrust

Hi proletariat99, I don't expect it would be trivial to modify Splunk messaging in this case, but you could extend the time-to-live for the Splunk searches as described here : http://docs.splunk.com/Documentation/Splunk/latest/Admin/Limitsconf

ttl = <integer>
* How long search artifacts should be stored on disk once completed, in
  seconds. The ttl is computed relative to the modtime of status.csv of the job
  if such file exists or the modtime of the search job's artifact directory. If
  a job is being actively viewed in the Splunk UI then the modtime of
  status.csv is constantly updated such that the reaper does not remove the job
  from underneath.
* Defaults to 600, which is equivalent to 10 minutes.

Please let me know if this helps 😄

0 Karma

shawngarrettsgp
Path Finder

This seems to be an issue for me as well, after migrating SH pools to a new NFS share. Dashboard & scheduled alerts are working ok, but running adhoc searches generally gets the "unknown sid" issue.

0 Karma
Get Updates on the Splunk Community!

AppDynamics Summer Webinars

This summer, our mighty AppDynamics team is cooking up some delicious content on YouTube Live to satiate your ...

SOCin’ it to you at Splunk University

Splunk University is expanding its instructor-led learning portfolio with dedicated Security tracks at .conf25 ...

Credit Card Data Protection & PCI Compliance with Splunk Edge Processor

Organizations handling credit card transactions know that PCI DSS compliance is both critical and complex. The ...