Splunk Search

What is causing my dashboards to throw error "The search job terminated unexpectedly" when choosing a large time range?

DavidHourani
Super Champion

Hello,

I am having a problem when loading my dashboards for long time ranges.

The error "The search job terminated unexpectedly." is appearing after a minute or so (when the views are at about 40-50%). The message is sort of random. Sometimes it appears on all views, sometimes some, sometimes none.

My searches are quite simple "index=..." with 2 lookups. If I run the dashboard for a smaller time range, I don't have a problem. It's only for large time ranges.

Any idea what I can do to fix this ?

Best regards,
David

1 Solution

DavidHourani
Super Champion

The searches I was using weren't very optimized since I was using "| dedup _raw" right after "index=Cars" Had to apply my filters before using the dedup and that made it a lot faster and now searches are not causing anymore errors.

View solution in original post

DavidHourani
Super Champion

The searches I was using weren't very optimized since I was using "| dedup _raw" right after "index=Cars" Had to apply my filters before using the dedup and that made it a lot faster and now searches are not causing anymore errors.

markthompson
Builder

You say this is happening on the dashboard, does it happen when you use the search functionality?

If so, is there a certain date which causes it to error?

0 Karma

DavidHourani
Super Champion

No it does not happen when I run a search. It's only happening on the dashboard..

0 Karma
Career Survey
First 500 qualified respondents will receive a $20 gift card! Tell us about your professional Splunk journey.
Get Updates on the Splunk Community!

Thanks for the Memories! Splunk University, .conf25, and our Community

Thank you to everyone in the Splunk Community who joined us for .conf25, which kicked off with our iconic ...

Data Persistence in the OpenTelemetry Collector

This blog post is part of an ongoing series on OpenTelemetry. What happens if the OpenTelemetry collector ...

Introducing Splunk 10.0: Smarter, Faster, and More Powerful Than Ever

Now On Demand Whether you're managing complex deployments or looking to future-proof your data ...