logs
inctl logs
Prints logs from skills or services in a given solution
Synopsis
Prints target logs (skill or service) from the instance running in a given solution.
inctl logs [flags]
Examples
inctl logs --skill <skill-id> --service <service-name>
Multiple skills:
inctl logs --skill "<skill-id-1> <skill-id-2>"
inctl logs --skill <skill-id-1> --skill <skill-id-2>
Multiple services:
inctl logs --service "<service-name-1> <service-name-2>"
inctl logs --service <service-name-1> --service <service-name-2>
Explicitly specify org and solution:
inctl logs --org <organization@project-id> --solution <solution-id> --(target) <target-name-1> ...
Options
--asset strings (optional) Indicates logs source is a generic asset (or a list of assets)
--context string The Kubernetes cluster to use or localhost if used with --address
--debug Prints extensive debug messages
--follow Whether to follow the solution logs.
-h, --help help for logs
--onprem_address string The onprem address (host:port) of the workcell. Used to circumvent the need of routing through the cloud, if the workcell is running in the same network as the inctl
--org string The Intrinsic organization to use. You can set the environment variable
INTRINSIC_ORG=organization to set a default organization.
--prefix_id Prefix each log line with the asset ID, e.g., '[my-skill-id]'. Enabled for multiple targets are provided.
--prefix_type Prefix each log line with the asset type, e.g., '[Skill]' or '[Service]'.
--service strings (optional) Indicates logs source is a service (or a list of services)
--since string Show logs starting since value. Value is either relative (e.g 10m) or
date time in RFC3339 format (e.g: 2006-01-02T15:04:05Z07:00)
--skill strings (optional) Indicates logs source is a skill (or a list of skills)
--solution string Solution ID from which logs will be read.
--tail int (optional) The number of recent log lines to display. An input number less than 0 shows all log lines. (default 10)
--timeout string Maximum time to wait to receive logs. (default "300s")
--timestamps Whether to include timestamps on each log line.
Options inherited from parent commands
-o, --output string (optional) Output format. One of: (json, ndjson)
--print-trace Print the trace identifier when exiting.
SEE ALSO
- inctl - inctl is the Intrinsic commandline tool
- inctl logs cp - Copies recently logged blobs & logs to a local folder
- inctl logs historian - TUI for the historian
- inctl logs pull - Fetches and downloads text logs for specified assets and time range.