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?
first please read this answer:
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:
hope it helps