sked logs webhook
Fetch execution logs for a webhook by name.
Overview
Fetch execution logs for a webhook by name. Accepts the same flags as sked logs triggered-action.
Note
Requires CLI version 5.1.2 or later.Usage
$ sked logs webhook --name <value> [--range <value> | --from <value> [--to <value>]] [--order <value>] [--output <value>] [--force] [--json] [--timezone <value>] [--alias <value>]
Examples
$ sked logs webhook --name my-webhook --range last-7-days
$ sked logs webhook --name my-webhook --from 2024-01-01 --to 2024-01-31 --output ./logs
Flags
| Flag | Description | Required |
|---|---|---|
| --name= |
The name of the webhook | Yes |
| --range= |
Shorthand time range: today, yesterday, last-week, last-7-days, last-30-days |
No |
| --from= |
Start of the time range: ISO 8601, a duration such as 24h or 7d, or a range keyword |
No |
| --to= |
End of the time range: ISO 8601, a duration, or a range keyword | No |
| --order= |
Sort order: asc (default) or desc |
No |
| -o, --output= |
Directory to write the logs to instead of printing them | No |
| --force | Overwrite an existing output file | No |
| --timezone= |
IANA time zone to display times in, and to interpret --range and date-only --from/--to in; defaults to your system time zone |
No |
| -a, --alias= |
The alias of the Skedulo tenant to fetch logs from | No |
Global flags
| Flag | Description | Required |
|---|---|---|
| --json | Output raw JSON. Always in UTC, unaffected by --timezone. |
No |
See also
Skedulo CLI Studio’s log viewer opens the same logs in an interactive, scrollable session.
Feedback
Was this page helpful?