Deployment Architecture
Highlighted

How to calculate dispatch directory size in Splunk?

Contributor

Hi,

I want to calculate dispatch directory size in Splunk to help in Splunk performance monitoring. Can anyone please help in writing the Splunk query to calculate the size of dispatch directory?

Thanks!

0 Karma
Highlighted

Re: How to calculate dispatch directory size in Splunk?

SplunkTrust
SplunkTrust

Hello there,
first please read this answer:
https://answers.splunk.com/answers/57630/controlling-dispatch-directory-growth.html
if you are still interesting in collecting that data, you can maybe create a small script that writes it outputs to a file you can monitor or create a scripted input.
here are quick examples from the www for both Windows and nix:
https://technet.microsoft.com/en-us/library/ff730945.aspx
https://stackoverflow.com/questions/16661982/check-folder-size-in-bash
hope it helps

0 Karma