---
title: "Fetch Elastilog"
method: GET
path: "/ocean/aws/ecs/cluster/{oceanClusterId}/log"
tags: ["Ocean ECS"]
---

# Fetch Elastilog

`GET /ocean/aws/ecs/cluster/{oceanClusterId}/log`

Get the log of an Ocean Cluster.

## Query parameters

- `limit` integer
- `severity` 'ALL' | 'INFO' | 'DEBUG' | 'ERROR' | 'WARN'
- `resourceId` string

## Parameters

- `#/paths/~1ocean~1aws~1k8s~1cluster~1%7BoceanClusterId%7D/get/parameters/1` — unresolved $ref
- `#/paths/~1azure~1costs/get/parameters/0` — unresolved $ref
- `#/paths/~1mcs~1ecs~1cluster~1%7BclusterName%7D~1costs/get/parameters/2` — unresolved $ref
- `#/paths/~1mcs~1ecs~1cluster~1%7BclusterName%7D~1costs/get/parameters/1` — unresolved $ref

## Response `200`

Ocean Get Log Response

- object
  - `request` object — Original request properties.
    - `id` string — Unique identifier associated with this request.
    - `url` string — The URL that was used for the request.
    - `method` string — The HTTP **METHOD** used for the request.
    - `timestamp` string — When the request was received by Spot.
  - `response` object — Response package that includes status, type, and any relevant data.
    - `status` object
      - `code` integer — HTTP status code assigned to this response.
      - `message` string — HTTP status message for the respective status code.
    - `kind` string
    - `items` object[] — Array of data objects.
      - `message` string
      - `severity` string
      - `createdAt` string
    - `count` integer

## Other responses

- `400` — Bad Request

---

[API](https://skmtc.net/spot/apis/spot-by-flexera-api.md) · [All operations](https://skmtc.net/spot/apis/spot-by-flexera-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/spot/spot-by-flexera-api/revisions/72813baf8d47/schema)
