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!

Rounding off the Splunk Dashboard Contest

What does a contest-winning Splunk dashboard look like? In this case, it isn't in a browser tab at all. It ...

A Four Part Event Series: AI + Observability: AI Agents, LLMs, Apps, & Infrastructure

AI + Observability: AI Agents, LLMs, Apps, & Infrastructure The rapid evolution of artificial intelligence ...

Splunk Technical Support Is Moving to Cisco Support Tools

Introduction Splunk technical support is transitioning to Cisco’s support environment. This change brings ...