Service

Get service log entries

Changed on
post/project/{project}/service/{service_name}/logs

Request

  • Base URL
    https://api.aiven.io/v1
  • URL
    https://api.aiven.io/v1/project/{project}/service/{service_name}/logs
  • Auth
    HTTP bearer and OAuth 2
    Authorization code: https://console.aiven.io/oauth/authorize
    Token URL: https://api.aiven.io/v1/oauth2/token scopes: services:read

Path parameters

projectstring required

Project name

service_namestring required

Service name

Request body

limitinteger

How many log entries to receive at most

log_type'application-build' | 'application-run'

Filter to entries of a specific application log type. Only supported for application services. When omitted on application services, runtime logs (application-run) are returned.

offsetstring

Opaque offset identifier

severity'emerg' | 'alert' | 'crit' | 'err' | 'warning' | 'notice' | 'info' | 'debug'

Filter to entries with severity at least as severe as this value

sort_order'desc' | 'asc'

Sort order for log messages

Response

Response

first_log_offsetstring required

Opaque offset identifier of the first received log message. A null value is returned when there are no logs at all.

messagestring

Printable result of the request

offsetstring required

Opaque offset identifier. A null value is returned when there are no logs at all.

Changes

    • info

      added the new optional request property

    • info

      added the new optional request property

    • info

      added the optional property // to the response with the status

    • info

      the request property default value 100 was added

    • info

      the request property default value desc was added