CLI reference
kusaw logs
Print supervisor, serve, and ui logs. Subcommands list, ignore, and link log-store fingerprints.
kusaw logs
Print supervisor, serve, and ui logs. Subcommands list, ignore, and link log-store fingerprints.
Usage
kusaw logs [serve|ui|up] [flags]Flags
| Name | Short | Type | Default | Description |
|---|---|---|---|---|
--config | string | Path to kusaw.yaml (overrides KUSAW_CONFIG and parent search) | ||
--factory | string | factory name from kusaw list | ||
--follow | -f | bool | false | Follow the log across rotations |
--help | -h | bool | false | help for logs |
--lines | -n | int | 200 | Number of lines to print |
Subcommands
kusaw logs fingerprints
List log-store fingerprints
kusaw logs fingerprints [connector] [flags]| Name | Short | Type | Default | Description |
|---|---|---|---|---|
--config | string | Path to kusaw.yaml (overrides KUSAW_CONFIG and parent search) | ||
--factory | string | factory name from kusaw list | ||
--help | -h | bool | false | help for fingerprints |
--severity | string | Filter by critical, high, medium, or low |
Example:
kusaw logs fingerprints demo-logs --severity criticalkusaw logs ignore
Ignore a log fingerprint so later events create no item
kusaw logs ignore <connector>:<fingerprint> [flags]| Name | Short | Type | Default | Description |
|---|---|---|---|---|
--config | string | Path to kusaw.yaml (overrides KUSAW_CONFIG and parent search) | ||
--factory | string | factory name from kusaw list | ||
--help | -h | bool | false | help for ignore |
Example:
kusaw logs ignore demo-logs:ext:abckusaw logs link
Link a log fingerprint to a tracker item by hand
kusaw logs link <connector>:<fingerprint> <tracker-connector>:<id> [flags]| Name | Short | Type | Default | Description |
|---|---|---|---|---|
--config | string | Path to kusaw.yaml (overrides KUSAW_CONFIG and parent search) | ||
--factory | string | factory name from kusaw list | ||
--help | -h | bool | false | help for link |
Example:
kusaw logs link demo-logs:ext:abc github-issues:42Exit codes
| Code | Name | Description |
|---|---|---|
| 0 | ok | Success. |
| 1 | error | Runtime error. |
| 2 | usage | Usage or validation error. |
| 3 | rejected | Control request rejected; the error string is printed verbatim. |
| 4 | not picked up | Control request not picked up within the wait time while serve runs. |
Example
kusaw logs -f