
Fetch
CertifiedFetch execution logs to storage
Fetch
Certified
Fetch execution logs to storage
yaml
type: io.kestra.plugin.kestra.logs.FetchExamples
yaml
id: fetch_logs_flow
namespace: company.team
tasks:
- id: my_task
type: io.kestra.plugin.scripts.shell.Commands
commands:
- echo "Processing data"
- echo "Task completed"
- id: fetch_logs
type: io.kestra.plugin.kestra.logs.Fetch
level: INFO
executionId: "{{ execution.id }}"
- id: log_count
type: io.kestra.plugin.core.log.Log
message: "Fetched {{ outputs.fetch_logs.size }} log entries"
yaml
id: kestra_logs_fetch
namespace: company.team
tasks:
- id: fetch
type: io.kestra.plugin.kestra.logs.Fetch
level: WARN
executionId: "{{ execution.id }}"
tasksId:
- "previous_task_id"
Properties
auth Non-dynamic
Definitions
io.kestra.plugin.kestra.AbstractKestraTask-Auth
apiTokenstring
autobooleanstring
Default
truepasswordstring
usernamestring
executionId string
flowId string
kestraUrl string
level string
Default
INFOPossible Values
ERRORWARNINFODEBUGTRACEnamespace string
pluginDefaultsRef Non-dynamicstring
tasksId array
SubTypestring
tenantId string
Outputs
size integer
uri string
Format
uri