Skip to main content

cp

inctl logs cp

Copies recently logged blobs & logs to a local folder

Synopsis

Copies recently logged blobs & logs to a local folder

inctl logs cp <event_source> <destination> [--lookback=600] | --historic [--historic_start_timestamp=2024-08-20T12:00:00Z --historic_end_timestamp=2024-08-20T12:00:00Z] [flags]

Options

  -c, --context string                    The Kubernetes cluster to use.
-h, --help help for cp
--historic Uses the cloud to fetch historical logs.
--historic_end_timestamp string End timestamp in RFC3339 format for fetching historical logs. eg. 2024-08-20T12:00:00Z
--historic_start_timestamp string Start timestamp in RFC3339 format for fetching historical logs. eg. 2024-08-20T12:00:00Z
--lookback duration The time window to copy logs from (default 10m0s)
-q, --quiet Suppress the best-effort pipeline reminder message
--use_localhost Connect to localhost instead of using SSH to connecting to the cluster.

Options inherited from parent commands

      --org string      The Intrinsic organization to use. You can set the environment variable
INTRINSIC_ORG=organization to set a default organization.
-o, --output string (optional) Output format. One of: (json, ndjson)
--print-trace Print the trace identifier when exiting.

SEE ALSO

  • inctl logs - Prints logs from skills or services in a given solution