Ocean GKE

Get Elastilog

Get group’s Elastilog by

get/ocean/gcp/k8s/cluster/{oceanClusterId}/log

Request

  • Base URL
    https://api.spotinst.io
  • URL
    https://api.spotinst.io/ocean/gcp/k8s/cluster/{oceanClusterId}/log
  • Auth
    HTTP bearer

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)
#/paths/~1ocean~1aws~1ecs~1cluster~1%7BoceanClusterId%7D~1log/get/parameters/4 (unresolved $ref)
#/paths/~1ocean~1aws~1ecs~1cluster~1%7BoceanClusterId%7D~1log/get/parameters/5 (unresolved $ref)
#/paths/~1ocean~1aws~1ecs~1cluster~1%7BoceanClusterId%7D~1log/get/parameters/6 (unresolved $ref)

Response

Ocean Get Log Response

Example response

{
  "request": {
    "id": "3213f42e-455e-4801-a185-cd3eb65fac5f",
    "url": "/ocean/gcp/k8s/cluster/o-e0a2bd7c/log?fromDate=2020-10-06&toDate=2020-10-08&severity=ALL&limit=500",
    "method": "GET",
    "timestamp": "2020-10-05T16:20:38.579Z"
  },
  "response": {
    "status": {
      "message": "OK"
    },
    "kind": "spotinst:ocean:cluster:log",
    "items": [
      {
        "message": "Ocean o-e0a2bd7c successfully created.",
        "severity": "INFO",
        "createdAt": "2020-10-07T09:51:12.000Z"
      }
    ]
  }
}

Changes

No recorded changes to this operation across all 12 revisions of this API.