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!

More Control Over Your Monitoring Costs with Archived Metrics!

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

Updated Team Landing Page in Splunk Observability

We’re making some changes to the team landing page in Splunk Observability, based on your feedback. The ...