PurgeExecutions PurgeExecutions
PurgeExecutions Certified

Purge executions, logs, metrics, and storage files.

yaml
type: io.kestra.plugin.core.execution.PurgeExecutions
yaml
id: purgeexecutions
type: io.kestra.plugin.core.execution.PurgeExecutions
id: purge_exections
namespace: system

tasks:
  - id: purge
    type: io.kestra.plugin.core.execution.PurgeExecutions
    endDate: "{{ now() | dateAdd(-1, 'MONTHS') }}"
    states:
      - KILLED
      - FAILED
      - WARNING
      - SUCCESS
Properties
Default100
Defaulttrue
Defaulttrue
Defaulttrue
Defaulttrue
SubTypestring
Possible Values
CREATEDSUBMITTEDRUNNINGPAUSEDRESTARTEDKILLINGSUCCESSWARNINGFAILEDKILLEDCANCELLEDQUEUEDRETRYINGRETRIEDSKIPPEDBREAKPOINTRESUBMITTED
Default0
Default0
Default0
Default0