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
      • BackupCluster
      • CreateCluster
      • CreateDatabase
      • CreateUser
      • DatabaseUserLogin
      • DatabaseUserLogout
      • DatabaseUserSQLRequest
      • DeleteBackup
      • DeleteCluster
      • DeleteClusterHosts
      • DeleteDatabase
      • DeleteUser
      • GetDatabase
      • GetUser
      • GrantUserPermission
      • ListDatabases
      • ListUsers
      • MoveCluster
      • RescheduleMaintenance
      • RestoreCluster
      • RevokeUserPermission
      • StartCluster
      • StartClusterFailover
      • StopCluster
      • UpdateCluster
      • UpdateClusterHosts
      • UpdateDatabase
      • UpdateUser
  • Release notes

In this article:

  • Event JSON schema
  • Field description
  • DatabaseAuthentication
  • Authorization
  • ResourceMetadata
  • Resource
  • Status
  • LoginEventDetails
  1. Audit log reference
  2. mdb.mysql
  3. DatabaseUserLogout

Managed Service for MySQL Audit Trails Events: DatabaseUserLogout

Written by
Yandex Cloud
Updated at April 15, 2026
  • Event JSON schema
  • Field description
  • DatabaseAuthentication
  • Authorization
  • ResourceMetadata
  • Resource
  • Status
  • LoginEventDetails

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
  },
  "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
      }
    ]
  },
  "eventStatus": "string",
  "error": {
    "code": "integer",
    "message": "string",
    "details": [
      "object"
    ]
  },
  "details": {
    "clusterId": "string",
    "clusterName": "string",
    "dbName": "string",
    "userName": "string",
    "proxyUser": "string",
    "remoteAddress": "string",
    "myAuditConnectionId": "string"
  }
}

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

DatabaseAuthentication

authorization

Authorization

resourceMetadata

ResourceMetadata

eventStatus

enum (EventStatus)

  • STARTED
  • ERROR
  • DONE
  • CANCELLED
  • RUNNING

error

Status

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

details

LoginEventDetails

DatabaseAuthenticationDatabaseAuthentication

Field

Description

authenticated

boolean

subjectType

enum (DatabaseSubjectType)

Includes only one of the fields subjectType.

  • DB_NATIVE_USER

subjectId

string

Includes only one of the fields subjectId.

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.

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.

LoginEventDetailsLoginEventDetails

Field

Description

clusterId

string

clusterName

string

dbName

string

userName

string

proxyUser

string

remoteAddress

string

myAuditConnectionId

string

Was the article helpful?

Previous
DatabaseUserLogin
Next
DatabaseUserSQLRequest
© 2026 Direct Cursus Technology L.L.C.