get_cluster_log
Retrieve scaling and activity logs for Ocean clusters on AWS or Azure to monitor performance, troubleshoot issues, and analyze cluster behavior within specified date ranges.
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 |