Read container logs from a running instance
flux_get_app_logsRetrieve the most recent log lines from an app or one of its components on a specific cloud node. Use it to inspect runtime output and troubleshoot deployments.
Instructions
Fetches 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. |