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!

Enhance Security Visibility with Splunk Enterprise Security 7.1 through Threat ...

(view in My Videos)Struggling with alert fatigue, lack of context, and prioritization around security ...

Troubleshooting the OpenTelemetry Collector

  In this tech talk, you’ll learn how to troubleshoot the OpenTelemetry collector - from checking the ...

Adoption of Infrastructure Monitoring at Splunk

  Splunk's Growth Engineering team showcases one of their first Splunk product adoption-Splunk Infrastructure ...