
PurgeExecutions
PurgeExecutions
yaml
type: "io.kestra.plugin.core.execution.PurgeExecutions"Examples
yaml
id: "purgeexecutions"
type: "io.kestra.plugin.core.execution.PurgeExecutions"
endDate: "{{ now() | dateAdd(-1, 'MONTHS') }}"
states:
- KILLED
- FAILED
- WARNING
- SUCCESSProperties
endDate*Requiredstring
batchSizeintegerstring
Default
100flowIdstring
namespacestring
purgeExecutionbooleanstring
Default
truepurgeLogbooleanstring
Default
truepurgeMetricbooleanstring
Default
truepurgeStoragebooleanstring
Default
truestartDatestring
statesarray
SubTypestring
Possible Values
CREATEDSUBMITTEDRUNNINGPAUSEDRESTARTEDKILLINGSUCCESSWARNINGFAILEDKILLEDCANCELLEDQUEUEDRETRYINGRETRIEDSKIPPEDBREAKPOINTRESUBMITTEDOutputs
executionsCountinteger
Default
0logsCountinteger
Default
0metricsCountinteger
Default
0storagesCountinteger
Default
0