Read container logs from a running instance
flux_get_app_logsFetches the last N log lines of an app (or one component of it) from one of the nodes running it. Requires the owner key.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | ||
| lines | No | ||
| nodeIp | No | ip[:port] of the instance; defaults to the first running one. | |
| component | No | Component name for multi-component apps. | |
| fluxIdPrivateKey | No | WIF private key of the Flux ID that owns the app. Use a dedicated key from flux_generate_keys, never a main wallet key. | |
| paymentPrivateKey | No | WIF private key of the Flux address that pays. Fund it with only what you intend to spend. |