
Fetch
Fetch execution logs and store them in a file.
Fetch execution logs and store them in a file.
Fetch execution logs and store them in a file.
This task is useful to automate moving logs between various systems and environments.
type: "io.kestra.plugin.core.log.Fetch"Examples
id: "fetch"
type: "io.kestra.plugin.core.log.Fetch"
level: INFO
executionId: "{{ trigger.executionId }}"id: "fetch"
type: "io.kestra.plugin.core.log.Fetch"
level: WARN
executionId: "{{ execution.id }}"
tasksId:
- "previous_task_id"Properties
executionIdstring
Filter for a specific execution.
If not set, the task will use the ID of the current execution.
If set, it will try to locate the execution on the current flow unless the namespace and flowId properties are set.
flowIdstring
Filter for a specific flow identifier in case executionId is set.
levelstring
INFOERRORWARNINFODEBUGTRACEThe lowest log level that you want to fetch
namespacestring
Filter for a specific namespace in case executionId is set.
tasksIdarray
Filter for one or more task(s).
Outputs
sizeinteger
The number of rows fetched
uristring
uriInternal storage URI of stored results
Stored as Amazon ION file in a row per row format.