Yandex Cloud
Search
Contact UsTry it for free
  • Customer Stories
  • Documentation
  • Blog
  • All Services
  • System Status
  • Marketplace
    • Featured
    • Infrastructure & Network
    • Data Platform
    • AI for business
    • Security
    • DevOps tools
    • Serverless
    • Monitoring & Resources
  • All Solutions
    • By industry
    • By use case
    • Economics and Pricing
    • Security
    • Technical Support
    • Start testing with double trial credits
    • Cloud credits to scale your IT product
    • Gateway to Russia
    • Cloud for Startups
    • Center for Technologies and Society
    • Yandex Cloud Partner program
    • Price calculator
    • Pricing plans
  • Customer Stories
  • Documentation
  • Blog
© 2026 Direct Cursus Technology L.L.C.
Yandex Audit Trails
  • Getting started
  • Access management
  • Pricing policy
  • Terraform reference
  • Monitoring metrics
  • Management event reference
  • Data event reference
      • AddClusterHosts
      • AddClusterShards
      • BackupCluster
      • CreateCluster
      • CreateDatabase
      • CreateUser
      • DeleteBackup
      • DeleteCluster
      • DeleteClusterHosts
      • DeleteClusterShards
      • DeleteDatabase
      • DeleteUser
      • RescheduleMaintenance
      • RestoreCluster
      • StartCluster
      • StopCluster
      • UpdateCluster
      • UpdateClusterHosts
      • UpdateUser
  • Release notes

In this article:

  • Event JSON schema
  • Field description
  • IamAuthentication
  • IamTokenInfo
  • Authorization
  • ResourceMetadata
  • Resource
  • RequestMetadata
  • Status
  • HostsEventDetails
  • Host
  • Resources
  • Service
  • SystemMetrics
  • CPUMetric
  • MemoryMetric
  • DiskMetric
  1. Audit log reference
  2. mdb.spqr
  3. AddClusterHosts

Managed Service for SPQR Audit Trails Events: AddClusterHosts

Written by
Yandex Cloud
Updated at April 15, 2026
  • Event JSON schema
  • Field description
  • IamAuthentication
  • IamTokenInfo
  • Authorization
  • ResourceMetadata
  • Resource
  • RequestMetadata
  • Status
  • HostsEventDetails
  • Host
  • Resources
  • Service
  • SystemMetrics
  • CPUMetric
  • MemoryMetric
  • DiskMetric

Event JSON schemaEvent JSON schema

{
  "eventId": "string",
  "eventSource": "string",
  "eventType": "string",
  "eventTime": "string",
  "authentication": {
    "authenticated": "boolean",
    // Includes only one of the fields `subjectType`
    "subjectType": "string",
    // end of the list of possible fields
    // Includes only one of the fields `subjectId`
    "subjectId": "string",
    // end of the list of possible fields
    // Includes only one of the fields `subjectName`
    "subjectName": "string",
    // end of the list of possible fields
    // Includes only one of the fields `federationId`
    "federationId": "string",
    // end of the list of possible fields
    // Includes only one of the fields `federationName`
    "federationName": "string",
    // end of the list of possible fields
    // Includes only one of the fields `federationType`
    "federationType": "string",
    // end of the list of possible fields
    "tokenInfo": {
      "maskedIamToken": "string",
      // Includes only one of the fields `iamTokenId`
      "iamTokenId": "string",
      // end of the list of possible fields
      // Includes only one of the fields `impersonatorId`
      "impersonatorId": "string",
      // end of the list of possible fields
      // Includes only one of the fields `impersonatorType`
      "impersonatorType": "string",
      // end of the list of possible fields
      // Includes only one of the fields `impersonatorName`
      "impersonatorName": "string",
      // end of the list of possible fields
      // Includes only one of the fields `impersonatorFederationId`
      "impersonatorFederationId": "string",
      // end of the list of possible fields
      // Includes only one of the fields `impersonatorFederationName`
      "impersonatorFederationName": "string",
      // end of the list of possible fields
      // Includes only one of the fields `impersonatorFederationType`
      "impersonatorFederationType": "string"
      // end of the list of possible fields
    }
  },
  "authorization": {
    "authorized": "boolean"
  },
  "resourceMetadata": {
    "path": [
      {
        "resourceType": "string",
        "resourceId": "string",
        // Includes only one of the fields `resourceName`
        "resourceName": "string"
        // end of the list of possible fields
      }
    ]
  },
  "requestMetadata": {
    "remoteAddress": "string",
    "userAgent": "string",
    "requestId": "string",
    // Includes only one of the fields `remotePort`
    "remotePort": "string"
    // end of the list of possible fields
  },
  "eventStatus": "string",
  "error": {
    "code": "integer",
    "message": "string",
    "details": [
      "object"
    ]
  },
  "details": {
    "clusterId": "string",
    "hostNames": [
      "string"
    ],
    "hosts": [
      {
        "name": "string",
        "clusterId": "string",
        "zoneId": "string",
        "resources": {
          "resourcePresetId": "string",
          "diskSize": "string",
          "diskTypeId": "string"
        },
        "role": "string",
        "health": "string",
        "services": [
          {
            "type": "string",
            "health": "string"
          }
        ],
        "subnetId": "string",
        "assignPublicIp": "boolean",
        "type": "string",
        "walleLink": "string",
        "stateReason": "string",
        "system": {
          "cpu": {
            "timestamp": "string",
            "used": "string"
          },
          "memory": {
            "timestamp": "string",
            "used": "string",
            "total": "string"
          },
          "disk": {
            "timestamp": "string",
            "used": "string",
            "total": "string"
          }
        },
        "shardName": "string"
      }
    ],
    "clusterName": "string",
    "description": "string",
    "labels": "object"
  },
  "requestParameters": "object",
  "response": "object"
}

Field descriptionField description

Field

Description

eventId

string

eventSource

string

eventType

string

eventTime

string (date-time)

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).

authentication

IamAuthentication

authorization

Authorization

resourceMetadata

ResourceMetadata

requestMetadata

RequestMetadata

eventStatus

enum (EventStatus)

  • STARTED
  • ERROR
  • DONE
  • CANCELLED
  • RUNNING

error

Status

The error result of the operation in case of failure or cancellation.

details

HostsEventDetails

requestParameters

object

response

object

IamAuthenticationIamAuthentication

Field

Description

authenticated

boolean

subjectType

enum (IamSubjectType)

Includes only one of the fields subjectType.

  • YANDEX_PASSPORT_USER_ACCOUNT
  • SERVICE_ACCOUNT
  • FEDERATED_USER_ACCOUNT
  • SSH_USER
  • KUBERNETES_USER

subjectId

string

Includes only one of the fields subjectId.

subjectName

string

Includes only one of the fields subjectName.

federationId

string

Includes only one of the fields federationId.

federationName

string

Includes only one of the fields federationName.

federationType

enum (FederationType)

Includes only one of the fields federationType.

  • GLOBAL_FEDERATION
  • PRIVATE_FEDERATION

tokenInfo

IamTokenInfo

IamTokenInfoIamTokenInfo

Field

Description

maskedIamToken

string

iamTokenId

string

Includes only one of the fields iamTokenId.

impersonatorId

string

Includes only one of the fields impersonatorId.

impersonatorType

enum (IamSubjectType)

Includes only one of the fields impersonatorType.

  • YANDEX_PASSPORT_USER_ACCOUNT
  • SERVICE_ACCOUNT
  • FEDERATED_USER_ACCOUNT
  • SSH_USER
  • KUBERNETES_USER

impersonatorName

string

Includes only one of the fields impersonatorName.

impersonatorFederationId

string

Includes only one of the fields impersonatorFederationId.

impersonatorFederationName

string

Includes only one of the fields impersonatorFederationName.

impersonatorFederationType

enum (FederationType)

Includes only one of the fields impersonatorFederationType.

  • GLOBAL_FEDERATION
  • PRIVATE_FEDERATION

AuthorizationAuthorization

Field

Description

authorized

boolean

ResourceMetadataResourceMetadata

Field

Description

path[]

Resource

ResourceResource

Field

Description

resourceType

string

resourceId

string

resourceName

string

Includes only one of the fields resourceName.

RequestMetadataRequestMetadata

Field

Description

remoteAddress

string

userAgent

string

requestId

string

remotePort

string (int64)

Includes only one of the fields remotePort.

StatusStatus

The error result of the operation in case of failure or cancellation.

Field

Description

code

integer (int32)

Error code. An enum value of google.rpc.Code.

message

string

An error message.

details[]

object

A list of messages that carry the error details.

HostsEventDetailsHostsEventDetails

Field

Description

clusterId

string

hostNames[]

string

The number of elements must be greater than 0.

hosts[]

Host

clusterName

string

description

string

labels

object (map<string, string>)

HostHost

Field

Description

name

string

clusterId

string

zoneId

string

resources

Resources

role

enum (Role)

  • ROLE_UNKNOWN
  • PRIMARY
  • SECONDARY
  • MASTER
  • REPLICA

health

enum (Health)

  • HEALTH_UNKNOWN
  • ALIVE
  • DEAD
  • DEGRADED

services[]

Service

subnetId

string

assignPublicIp

boolean

type

enum (Type)

  • ROUTER
  • COORDINATOR
  • INFRA
  • POSTGRESQL
  • EXTERNAL_POSTGRESQL
  • MDB_POSTGRESQL

walleLink

string

stateReason

string

system

SystemMetrics

shardName

string

ResourcesResources

Field

Description

resourcePresetId

string

diskSize

string (int64)

diskTypeId

string

ServiceService

Field

Description

type

enum (Type)

  • ROUTER
  • COORDINATOR
  • INFRA
  • POSTGRESQL
  • EXTERNAL_POSTGRESQL
  • MDB_POSTGRESQL

health

enum (Health)

  • HEALTH_UNKNOWN
  • ALIVE
  • DEAD

SystemMetricsSystemMetrics

Field

Description

cpu

CPUMetric

memory

MemoryMetric

disk

DiskMetric

CPUMetricCPUMetric

Field

Description

timestamp

string (int64)

used

string

MemoryMetricMemoryMetric

Field

Description

timestamp

string (int64)

used

string (int64)

total

string (int64)

DiskMetricDiskMetric

Field

Description

timestamp

string (int64)

used

string (int64)

total

string (int64)

Was the article helpful?

Previous
UpdateUser
Next
AddClusterShards
© 2026 Direct Cursus Technology L.L.C.