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
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!

Guided Onboarding with Auto-schema Is Now Generally Available

  We are excited to announce the General Availability of Guided Onboarding with Auto-Schematization ...

ATTENTION: We’re Moving! (AGAIN!)

The Splunk Community Slack is undergoing a system migration to keep our workspace secure and ...

Deep Dive: Optimizing Telemetry Pipelines in Splunk Observability Cloud

In this session, we will peel back the layers of Splunk Observability Cloud’s cost-optimization features. ...