Document toolboxDocument toolbox

data.destination.splunk > purge

The data.destination.splunk > purge command enables you to delete all the output files in queue waiting to be transferred to the Splunk destination. When you provide the regexp parameter, all files matching the provided parameter are deleted. If you do not provide the parameter, only pending output files are deleted.

Syntax

data.destination.splunk > purge [regexp]
regxep - regular expression with posix-egrep syntax.

Example

data.destination.splunk > purge
Delete all splunk output files? y/n [y]:
y
Splunk output files are deleted
ok