Nebius Israel
Contact usConsole
  • GPU
  • Docs
© 2023 Nebius Israel Ltd
Compute Cloud
  • Container Solution
  • Access management
  • Pricing policy
  1. API reference
  2. REST
  3. InstanceGroup
  4. listLogRecords

Compute Cloud Instance Groups API, REST: InstanceGroup.listLogRecords

  • HTTP request
  • Path parameters
  • Query parameters
  • Response

Lists logs for the specified instance group.

HTTP requestHTTP request

GET https://compute.api.il.nebius.cloud/compute/v1/instanceGroups/{instanceGroupId}:logs

Path parametersPath parameters

Parameter Description
instanceGroupId

Required. ID of the InstanceGroup resource to list logs for. To get the instance group ID, use a list request.

Query parametersQuery parameters

Parameter Description
pageSize

The maximum number of results per page to return. If the number of available results is larger than pageSize, the service returns a nextPageToken that can be used to get the next page of results in subsequent list requests.

Acceptable values are 0 to 1000, inclusive.

pageToken

Page token. To get the next page of results, set pageToken to the nextPageToken returned by a previous list request.

The maximum string length in characters is 1000.

filter

A filter expression that filters resources listed in the response. Currently you can use filtering only on the InstanceGroup.name field.

The maximum string length in characters is 1000.

ResponseResponse

HTTP Code: 200 - OK

{
  "logRecords": [
    {
      "timestamp": "string",
      "message": "string"
    }
  ],
  "nextPageToken": "string"
}
Field Description
logRecords[] object

Lists logs for the specified instance group.

logRecords[].
timestamp
string (date-time)

Log timestamp in RFC3339 text format.

String in RFC3339 text format. The range of possible values is from 0001-01-01T00:00:00Z to 9999-12-31T23:59:59.999999999Z, i.e. from 0 to 9 digits for fractions of a second.

To work with values in this field, use the APIs described in the Protocol Buffers reference. In some languages, built-in datetime utilities do not support nanosecond precision (9 digits).

logRecords[].
message
string

The log message.

nextPageToken string

This token allows you to get the next page of results for list requests. If the number of results is larger than pageSize, use nextPageToken as the value for the pageToken query parameter in the next list request. Each subsequent list request will have its own nextPageToken to continue paging through the results.

© 2023 Nebius Israel Ltd
In this article:
  • HTTP request
  • Path parameters
  • Query parameters
  • Response