get_cluster_log
Retrieve scaling and activity log events for an Ocean cluster on AWS or Azure, filtering by date range, severity, and limit to troubleshoot cluster operations.
Instructions
Get scaling and activity log events for an Ocean cluster (AWS or Azure).
Args: cluster_id: The Ocean cluster ID (e.g. o-abc12345) from_date: Start date in YYYY-MM-DD format (e.g. 2026-03-19) to_date: End date in YYYY-MM-DD format (e.g. 2026-03-20) severity: Filter by severity: ALL, INFO, WARN, ERROR (default: ALL) limit: Max number of log entries (default: 500) account_id: Optional account ID to query. Defaults to SPOTINST_ACCOUNT_ID env var. cloud: Cloud provider: aws or azure (default: aws)
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cluster_id | Yes | ||
| from_date | Yes | ||
| to_date | Yes | ||
| severity | No | ALL | |
| limit | No | ||
| account_id | No | ||
| cloud | No | aws |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |