Managed Service for Apache Kafka® Audit Trails Events: StartCluster
- Event JSON schema
- Field description
- IamAuthentication
- IamTokenInfo
- Authorization
- ResourceMetadata
- Resource
- RequestMetadata
- Status
- ClusterEventDetails
- Cluster
- Monitoring
- ConfigSpec
- Kafka
- Resources
- KafkaConfig2_8
- KafkaConfig3
- KafkaConfig4
- Zookeeper
- Access
- RestAPIConfig
- DiskSizeAutoscaling
- KRaft
- KafkaUIConfig
- MaintenanceWindow
- WeeklyMaintenanceWindow
- MaintenanceOperation
- KafkaUI
Event 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",
"clusterName": "string",
"cluster": {
"id": "string",
"folderId": "string",
"createdAt": "string",
"name": "string",
"description": "string",
"labels": "object",
"environment": "string",
"monitoring": [
{
"name": "string",
"description": "string",
"link": "string"
}
],
"config": {
"version": "string",
"kafka": {
"resources": {
"resourcePresetId": "string",
"diskSize": "string",
"diskTypeId": "string"
},
// Includes only one of the fields `kafkaConfig_2_8`, `kafkaConfig_3`, `kafkaConfig_4`
"kafkaConfig_2_8": {
"compressionType": "string",
"logFlushIntervalMessages": "string",
"logFlushIntervalMs": "string",
"logFlushSchedulerIntervalMs": "string",
"logRetentionBytes": "string",
"logRetentionHours": "string",
"logRetentionMinutes": "string",
"logRetentionMs": "string",
"logSegmentBytes": "string",
"logPreallocate": "boolean",
"socketSendBufferBytes": "string",
"socketReceiveBufferBytes": "string",
"autoCreateTopicsEnable": "boolean",
"numPartitions": "string",
"defaultReplicationFactor": "string",
"messageMaxBytes": "string",
"replicaFetchMaxBytes": "string",
"sslCipherSuites": [
"string"
],
"offsetsRetentionMinutes": "string",
"saslEnabledMechanisms": [
"string"
],
"transactionalIdExpirationMs": "string"
},
"kafkaConfig_3": {
"compressionType": "string",
"logFlushIntervalMessages": "string",
"logFlushIntervalMs": "string",
"logFlushSchedulerIntervalMs": "string",
"logRetentionBytes": "string",
"logRetentionHours": "string",
"logRetentionMinutes": "string",
"logRetentionMs": "string",
"logSegmentBytes": "string",
"logPreallocate": "boolean",
"socketSendBufferBytes": "string",
"socketReceiveBufferBytes": "string",
"autoCreateTopicsEnable": "boolean",
"numPartitions": "string",
"defaultReplicationFactor": "string",
"messageMaxBytes": "string",
"replicaFetchMaxBytes": "string",
"sslCipherSuites": [
"string"
],
"offsetsRetentionMinutes": "string",
"saslEnabledMechanisms": [
"string"
],
"transactionalIdExpirationMs": "string"
},
"kafkaConfig_4": {
"compressionType": "string",
"logFlushIntervalMessages": "string",
"logFlushIntervalMs": "string",
"logFlushSchedulerIntervalMs": "string",
"logRetentionBytes": "string",
"logRetentionHours": "string",
"logRetentionMinutes": "string",
"logRetentionMs": "string",
"logSegmentBytes": "string",
"socketSendBufferBytes": "string",
"socketReceiveBufferBytes": "string",
"autoCreateTopicsEnable": "boolean",
"numPartitions": "string",
"defaultReplicationFactor": "string",
"messageMaxBytes": "string",
"replicaFetchMaxBytes": "string",
"sslCipherSuites": [
"string"
],
"offsetsRetentionMinutes": "string",
"saslEnabledMechanisms": [
"string"
],
"transactionalIdExpirationMs": "string"
}
// end of the list of possible fields
},
"zookeeper": {
"resources": {
"resourcePresetId": "string",
"diskSize": "string",
"diskTypeId": "string"
}
},
"zoneId": [
"string"
],
"brokersCount": "string",
"assignPublicIp": "boolean",
"unmanagedTopics": "boolean",
"schemaRegistry": "boolean",
"access": {
"dataTransfer": "boolean"
},
"restApiConfig": {
"enabled": "boolean"
},
"diskSizeAutoscaling": {
"plannedUsageThreshold": "string",
"emergencyUsageThreshold": "string",
"diskSizeLimit": "string"
},
"kraft": {
"resources": {
"resourcePresetId": "string",
"diskSize": "string",
"diskTypeId": "string"
}
},
"kafkaUiConfig": {
"enabled": "boolean"
},
"patchVersion": "string"
},
"networkId": "string",
"health": "string",
"status": "string",
"securityGroupIds": [
"string"
],
"hostGroupIds": [
"string"
],
"deletionProtection": "boolean",
"maintenanceWindow": {
// Includes only one of the fields `anytime`, `weeklyMaintenanceWindow`
"anytime": "object",
"weeklyMaintenanceWindow": {
"day": "string",
"hour": "string"
}
// end of the list of possible fields
},
"plannedOperation": {
"info": "string",
"delayedUntil": "string"
},
"kafkaUi": {
"url": "string"
},
"diskEncryptionKeyId": "string"
}
},
"requestParameters": "object",
"response": "object"
}
Field description
|
Field |
Description |
|
eventId |
string |
|
eventSource |
string |
|
eventType |
string |
|
eventTime |
string (date-time) String in RFC3339 To work with values in this field, use the APIs described in the |
|
authentication |
|
|
authorization |
|
|
resourceMetadata |
|
|
requestMetadata |
|
|
eventStatus |
enum (EventStatus)
|
|
error |
The error result of the operation in case of failure or cancellation. |
|
details |
|
|
requestParameters |
object |
|
response |
object |
IamAuthentication
|
Field |
Description |
|
authenticated |
boolean |
|
subjectType |
enum (IamSubjectType) Includes only one of the fields
|
|
subjectId |
string Includes only one of the fields |
|
subjectName |
string Includes only one of the fields |
|
federationId |
string Includes only one of the fields |
|
federationName |
string Includes only one of the fields |
|
federationType |
enum (FederationType) Includes only one of the fields
|
|
tokenInfo |
IamTokenInfo
|
Field |
Description |
|
maskedIamToken |
string |
|
iamTokenId |
string Includes only one of the fields |
|
impersonatorId |
string Includes only one of the fields |
|
impersonatorType |
enum (IamSubjectType) Includes only one of the fields
|
|
impersonatorName |
string Includes only one of the fields |
|
impersonatorFederationId |
string Includes only one of the fields |
|
impersonatorFederationName |
string Includes only one of the fields |
|
impersonatorFederationType |
enum (FederationType) Includes only one of the fields
|
Authorization
|
Field |
Description |
|
authorized |
boolean |
ResourceMetadata
|
Field |
Description |
|
path[] |
Resource
|
Field |
Description |
|
resourceType |
string |
|
resourceId |
string |
|
resourceName |
string Includes only one of the fields |
RequestMetadata
|
Field |
Description |
|
remoteAddress |
string |
|
userAgent |
string |
|
requestId |
string |
|
remotePort |
string (int64) Includes only one of the fields |
Status
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. |
ClusterEventDetails
|
Field |
Description |
|
clusterId |
string The maximum string length in characters is 50. |
|
clusterName |
string The maximum string length in characters is 63. |
|
cluster |
Cluster
|
Field |
Description |
|
id |
string |
|
folderId |
string |
|
createdAt |
string (date-time) String in RFC3339 To work with values in this field, use the APIs described in the |
|
name |
string |
|
description |
string |
|
labels |
object (map<string, string>) |
|
environment |
enum (Environment)
|
|
monitoring[] |
|
|
config |
|
|
networkId |
string |
|
health |
enum (Health)
|
|
status |
enum (Status)
|
|
securityGroupIds[] |
string |
|
hostGroupIds[] |
string |
|
deletionProtection |
boolean |
|
maintenanceWindow |
|
|
plannedOperation |
|
|
kafkaUi |
|
|
diskEncryptionKeyId |
string |
Monitoring
|
Field |
Description |
|
name |
string |
|
description |
string |
|
link |
string |
ConfigSpec
|
Field |
Description |
|
version |
string |
|
kafka |
|
|
zookeeper |
|
|
zoneId[] |
string |
|
brokersCount |
string (int64) |
|
assignPublicIp |
boolean |
|
unmanagedTopics |
boolean |
|
schemaRegistry |
boolean |
|
access |
|
|
restApiConfig |
|
|
diskSizeAutoscaling |
|
|
kraft |
|
|
kafkaUiConfig |
|
|
patchVersion |
string |
Kafka
|
Field |
Description |
|
resources |
|
|
kafkaConfig_2_8 |
Includes only one of the fields |
|
kafkaConfig_3 |
Includes only one of the fields |
|
kafkaConfig_4 |
Includes only one of the fields |
Resources
|
Field |
Description |
|
resourcePresetId |
string |
|
diskSize |
string (int64) |
|
diskTypeId |
string |
KafkaConfig2_8
|
Field |
Description |
|
compressionType |
enum (CompressionType)
|
|
logFlushIntervalMessages |
string (int64) |
|
logFlushIntervalMs |
string (int64) |
|
logFlushSchedulerIntervalMs |
string (int64) |
|
logRetentionBytes |
string (int64) |
|
logRetentionHours |
string (int64) |
|
logRetentionMinutes |
string (int64) |
|
logRetentionMs |
string (int64) |
|
logSegmentBytes |
string (int64) |
|
logPreallocate |
boolean |
|
socketSendBufferBytes |
string (int64) |
|
socketReceiveBufferBytes |
string (int64) |
|
autoCreateTopicsEnable |
boolean |
|
numPartitions |
string (int64) |
|
defaultReplicationFactor |
string (int64) |
|
messageMaxBytes |
string (int64) |
|
replicaFetchMaxBytes |
string (int64) |
|
sslCipherSuites[] |
string |
|
offsetsRetentionMinutes |
string (int64) |
|
saslEnabledMechanisms[] |
enum (SaslMechanism)
|
|
transactionalIdExpirationMs |
string (int64) |
KafkaConfig3
|
Field |
Description |
|
compressionType |
enum (CompressionType)
|
|
logFlushIntervalMessages |
string (int64) |
|
logFlushIntervalMs |
string (int64) |
|
logFlushSchedulerIntervalMs |
string (int64) |
|
logRetentionBytes |
string (int64) |
|
logRetentionHours |
string (int64) |
|
logRetentionMinutes |
string (int64) |
|
logRetentionMs |
string (int64) |
|
logSegmentBytes |
string (int64) |
|
logPreallocate |
boolean |
|
socketSendBufferBytes |
string (int64) |
|
socketReceiveBufferBytes |
string (int64) |
|
autoCreateTopicsEnable |
boolean |
|
numPartitions |
string (int64) |
|
defaultReplicationFactor |
string (int64) |
|
messageMaxBytes |
string (int64) |
|
replicaFetchMaxBytes |
string (int64) |
|
sslCipherSuites[] |
string |
|
offsetsRetentionMinutes |
string (int64) |
|
saslEnabledMechanisms[] |
enum (SaslMechanism)
|
|
transactionalIdExpirationMs |
string (int64) |
KafkaConfig4
|
Field |
Description |
|
compressionType |
enum (CompressionType)
|
|
logFlushIntervalMessages |
string (int64) |
|
logFlushIntervalMs |
string (int64) |
|
logFlushSchedulerIntervalMs |
string (int64) |
|
logRetentionBytes |
string (int64) |
|
logRetentionHours |
string (int64) |
|
logRetentionMinutes |
string (int64) |
|
logRetentionMs |
string (int64) |
|
logSegmentBytes |
string (int64) |
|
socketSendBufferBytes |
string (int64) |
|
socketReceiveBufferBytes |
string (int64) |
|
autoCreateTopicsEnable |
boolean |
|
numPartitions |
string (int64) |
|
defaultReplicationFactor |
string (int64) |
|
messageMaxBytes |
string (int64) |
|
replicaFetchMaxBytes |
string (int64) |
|
sslCipherSuites[] |
string |
|
offsetsRetentionMinutes |
string (int64) |
|
saslEnabledMechanisms[] |
enum (SaslMechanism)
|
|
transactionalIdExpirationMs |
string (int64) |
Zookeeper
|
Field |
Description |
|
resources |
Access
|
Field |
Description |
|
dataTransfer |
boolean |
RestAPIConfig
|
Field |
Description |
|
enabled |
boolean |
DiskSizeAutoscaling
|
Field |
Description |
|
plannedUsageThreshold |
string (int64) Acceptable values are 0 to 100, inclusive. |
|
emergencyUsageThreshold |
string (int64) Acceptable values are 0 to 100, inclusive. |
|
diskSizeLimit |
string (int64) |
KRaft
|
Field |
Description |
|
resources |
KafkaUIConfig
|
Field |
Description |
|
enabled |
boolean |
MaintenanceWindow
|
Field |
Description |
|
anytime |
object Includes only one of the fields |
|
weeklyMaintenanceWindow |
Includes only one of the fields |
WeeklyMaintenanceWindow
|
Field |
Description |
|
day |
enum (WeekDay)
|
|
hour |
string (int64) Acceptable values are 1 to 24, inclusive. |
MaintenanceOperation
|
Field |
Description |
|
info |
string The maximum string length in characters is 256. |
|
delayedUntil |
string (date-time) String in RFC3339 To work with values in this field, use the APIs described in the |
KafkaUI
|
Field |
Description |
|
url |
string |