get_cluster_log
Retrieves scaling and activity log events for an Ocean cluster (AWS or Azure) with date range and severity filters.
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)
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"cluster_id": "<cluster_id>",
"from_date": "<from_date>",
"to_date": "<to_date>"
},
"name": "get_cluster_log"
}
}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 |