Fetch Fetch

yaml
type: "io.kestra.core.tasks.log.Fetch"

Output execution logs in a file.

This task is useful to propagate your logs.

Examples

yaml
id: "fetch"
type: "io.kestra.core.tasks.log.Fetch"
level: ERROR
yaml
id: "fetch"
type: "io.kestra.core.tasks.log.Fetch"
level: WARN
tasksId: 
  - "previous-task-id"
yaml
id: "fetch"
type: "io.kestra.core.tasks.log.Fetch"
level: WARN
executionId: "{{execution.id}}"

Properties

executionId

  • Type: string
  • Dynamic: ✔️
  • Required:

Filter on specific execution

If not set, will use the current execution

level

  • Type: string
  • Dynamic:
  • Required:
  • Default: INFO
  • Possible Values:
    • ERROR
    • WARN
    • INFO
    • DEBUG
    • TRACE

Minimum log level you want to fetch

tasksId

  • Type: array
  • SubType: string
  • Dynamic:
  • Required:

Filter on specific task(s)

Outputs

size

  • Type: integer

The size of the fetched rows

uri

  • Type: string

The uri of stored results

File format is ion