Splunk Search

disapearing results

cramasta
Builder

I have a search that will show the results populating as it runs. Then out of nowhere the results drop to 0 and the search just continues to run till finished. I am just using a stats command so there are no commands that I am using like WHERE or anything else that would cause the results to drop to 0 if a condition is met. The search does take quite a while to run, over a hour. Has anyone experience this before? I am on 4.3.5

When i run the same search from another search head that has the same search peers the search finishes with all the results listed.

Could there be some type of dispatch limit that I am reaching? I have tried running this search on demand and as a saved search with the same results.

I did notice that in the dispatch folder for this search that the results_preview.csv file will be there as the search runs and then as soon as the results drop to 0 the results_preview.csv file is gone.

Tags (2)

cramasta
Builder

Turns out there was a clean up script that someone had running which was periodically clearing out files from the dispatch directory. DOH!

the_wolverine
Champion

Yeah, that's a really bad idea.

0 Karma

sideview
SplunkTrust
SplunkTrust

Can you post the actual search?

0 Karma
Get Updates on the Splunk Community!

Introducing Splunk Enterprise 9.2

WATCH HERE! Watch this Tech Talk to learn about the latest features and enhancements shipped in the new Splunk ...

Adoption of RUM and APM at Splunk

    Unleash the power of Splunk Observability   Watch Now In this can't miss Tech Talk! The Splunk Growth ...

Routing logs with Splunk OTel Collector for Kubernetes

The Splunk Distribution of the OpenTelemetry (OTel) Collector is a product that provides a way to ingest ...