Splunk Search

Jobs not geting purged in dispatch

viswanathsd
Path Finder

In our dispatch directory jobs are getting purged though we didn't set any parameters explicitly,all are default only.
Hence we need to clear dispatch manually .Please suggest what can be done to get rid of this manual purging.

Tags (1)
0 Karma

somesoni2
Revered Legend

You have to configure your saved searches/User profile to set a retention period for artifacts in Dispatch directory. See this http://answers.splunk.com/answers/57630/controlling-dispatch-directory-growth.html

This could be little tidious, so you can setup a daily job to cleanup dispatch directory. See the command/method here.
http://answers.splunk.com/answers/139924/where-can-i-find-documentation-for-splunkd-clean-dispatch-c...

0 Karma

viswanathsd
Path Finder

Sorry for typo,issue is jobs are not getting purged.
Mnaual purging means,clearing dispatch manually twice a day.

0 Karma

ppablo
Retired

Hi @viswanathsd

No problem. So you said you want to "get rid of this manual purging". Does that mean you want to find a way to automatically clear the dispatch directory daily instead of manually clearing it twice a day?

0 Karma

ppablo
Retired

Hi @viswanathsd

Can you clarify your issue? Your question says "Jobs not getting purged in dispatch", but your first sentence says "jobs are getting purged". Which one is it? and what do you mean by "what can be done to get rid of this manual purging"?

0 Karma
Get Updates on the Splunk Community!

Detecting Remote Code Executions With the Splunk Threat Research Team

WATCH NOWRemote code execution (RCE) vulnerabilities pose a significant risk to organizations. If exploited, ...

Enter the Splunk Community Dashboard Challenge for Your Chance to Win!

The Splunk Community Dashboard Challenge is underway! This is your chance to showcase your skills in creating ...

.conf24 | Session Scheduler is Live!!

.conf24 is happening June 11 - 14 in Las Vegas, and we are thrilled to announce that the conference catalog ...