Deployment Architecture

How to calculate dispatch directory size in Splunk?

MousumiChowdhur
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

adonio
Ultra Champion

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
Get Updates on the Splunk Community!

Extending Observability Content to Splunk Cloud

Watch Now!   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to leverage ...

More Control Over Your Monitoring Costs with Archived Metrics GA in US-AWS!

What if there was a way you could keep all the metrics data you need while saving on storage costs?This is now ...

New in Observability Cloud - Explicit Bucket Histograms

Splunk introduces native support for histograms as a metric data type within Observability Cloud with Explicit ...