PurgeLogs
Purge execution and trigger logs.
PurgeLogs
Purge execution and trigger logs.
yaml
type: io.kestra.plugin.core.log.PurgeLogsExamples
yaml
id: purge
namespace: system
tasks:
- id: purge_logs
type: io.kestra.plugin.core.log.PurgeLogs
endDate: "{{ now() | dateAdd(-1, 'MONTHS') }}"
yaml
id: purge
namespace: system
tasks:
- id: purge
type: io.kestra.plugin.core.log.PurgeLogs
endDate: "{{ now() | dateAdd(-1, 'MONTHS') }}"
logLevels:
- TRACE
- DEBUG
- INFO
- WARN
Properties
endDate *Requiredstring
executionId string
flowId string
logLevels array
SubTypestring
Possible Values
ERRORWARNINFODEBUGTRACEnamespace string
startDate string
Outputs
count integer
Default
0