Skip to main content
Quick navigation

Audit Log Events

Overview

As you and your team interact with Conduktor, audit events are captured that give a detailed tracking of actions taken against Kafka. This gives you centralized visibility of user-related and resource-related events. Audit log events.

The audit log events can be browsed, filtered and searched directly within Conduktor's UI or exported from a Kafka topic for any further use you may have for them, such as maintaining your own audit trail in other systems.

Admin Audit

Clicking on an event in the audit log exposes event-specific metadata. The below example demonstrates an audit event for a new connector added, which can include metadata such as custom tags, the cluster, connector name and its ID.

Admin Audit Event

Audit log events are also exported to a Kafka topic once configured with the right environment variables, here you can leverage all the benefits of Conduktor when finding a message. kafka message audit log

Audit Events

Below outlines the audit events currently tracked by Conduktor.

Console

ResourceType: Topic

CRN: kafka:/cluster/<uuid>/topic/<topic-name>

  • topic.ProducedRecord
  • topic.Browsed
  • topic.Deleted
  • topic.Created
  • topic.Updated
  • topic.Emptied
  • topic.Tagged
  • topic.Untagged

ResourceType: Subject

CRN kafka:/cluster/<uuid>/subject/<subject-name>

  • subject.Created
  • subject.Updated
  • subject.ChangedCompat
  • subject.Deleted
  • subject.DeletedVersions
  • subject.DeletedVersion

ResourceType: SchemaRegistry

CRN kafka:/cluster/<uuid>

  • registry.ChangedGlobalCompat

ResourceType: ConsumerGroup

CRN kafka:/cluster/<uuid>/group/<group-name>

  • consumergroup.Created
  • consumergroup.Updated (ResetOffsets)
  • consumergroup.Deleted

ResourceType: Connector

CRN kafka:/cluster/<uuid>/connect/<connect-cluster-id>/<connector-name>

  • connector.Created
  • connector.Updated
  • connector.Deleted
  • connector.Restarted
  • connector.RestartedTask
  • connector.Paused
  • connector.Resumed

Data Masking

ResourceType: DatamaskingPolicy

CRN platform:/datamasking/<uuid>

  • policy.Upserted
  • policy.Deleted

Self-Service

ResourceType: Application

CRN platform:/application/<app-slug>

  • application.Created
  • application.Deleted
  • application.Updated
  • application.access-request.Approved from / to
  • application.access-request.Rejected

Admin

ResourceType: Cluster

CRN kafka:/cluster/<uuid>

  • cluster.Created
  • cluster.Updated
  • cluster.Deleted

ResourceType: Group

CRN platform:/group/<uuid>

  • group.Created
  • group.member.Added
  • group.member.Deleted
  • group.permission.Added
  • group.permission.Deleted

ResourceType: User

CRN platform:/user/<email>

  • user.Login
  • user.permission.Added
  • user.permission.Deleted
  • user.platform_role.Updated

Exportable Audit Log Events

Audit log events from within the UI are being superceeded by a new set of audit log events that are exportable from a Kafka topic. The exportable audit log events have more detail, providing additional information about the event that has taken place.

Learn how to configure audit events for export via configuration properties.

The events conform to the CloudEvents specification, a vendor-neutral format that follows the following structure:

{
"specversion" : "1.0",
"type" : "com.github.pull_request.opened",
"source" : "https://github.com/cloudevents/spec/pull",
"subject" : "123",
"id" : "A234-1234-1234",
"time" : "2018-04-05T17:31:00Z",
"comexampleextension1" : "value",
"comexampleothervalue" : 5,
"datacontenttype" : "text/xml",
"data" : "<much wow=\"xml\"/>"
}

An example Conduktor event would look like:

{
"source": "//kafka/kafkacluster/production/topic/website-orders",
"data": {
"eventType": "Kafka.Topic.Create",
// Additional event specific data...
"metadata": {
"name": "website-orders",
"cluster": "production"
}
// Additional event specific metadata...
},
"datacontenttype": "application/json",
"id": "ad85122c-0041-421e-b04b-6bc2ec901e08",
"time": "2024-10-10T07:52:07.483140Z",
"type": "AuditLogEventType(Kafka,Topic,Create)",
"specversion": "1.0"
}

Below is the list of all the exported audit log event types, that are currently available. We are expanding the coverage to UI events and more in subsequent releases.

Event TypeDescription
Kafka.Subject.CreateKafka subject is created.
Kafka.Subject.UpdateKafka subject is updated.
Kafka.Subject.DeleteKafka subject is deleted.
Kafka.Topic.CreateKafka topic is created.
Kafka.Topic.UpdateKafka topic is updated.
Kafka.Topic.DeleteKafka topic is deleted.
Kafka.Topic.EmptyKafka topic is emptied.
Kafka.Connector.CreateKafka connector is created.
Kafka.Connector.UpdateKafka connector is updated.
Kafka.Connector.DeleteKafka connector is deleted.
Event TypeDescription
Iam.User.CreateIAM user is created.
Iam.User.UpdateIAM user is updated.
Iam.User.DeleteIAM user is deleted.
Iam.Group.CreateIAM group is created.
Iam.Group.UpdateIAM group is updated.
Iam.Group.DeleteIAM group is deleted.
Event TypeDescription
SelfService.Application.CreateSelf-service application is created.
SelfService.Application.UpdateSelf-service application is updated.
SelfService.Application.UpsertSelf-service application is created or updated.
SelfService.Application.DeleteSelf-service application is deleted.
SelfService.ApplicationInstance.CreateSelf-service application instance is created.
SelfService.ApplicationInstance.UpdateSelf-service application instance is updated.
SelfService.ApplicationInstance.DeleteSelf-service application instance is deleted.
SelfService.ApplicationGroup.CreateSelf-service application group is created.
SelfService.ApplicationGroup.UpdateSelf-service application group is updated.
SelfService.ApplicationGroup.DeleteSelf-service application group is deleted.
SelfService.ApplicationPolicy.CreateSelf-service application policy is created.
SelfService.ApplicationPolicy.UpdateSelf-service application policy is updated.
SelfService.ApplicationPolicy.DeleteSelf-service application policy is deleted.
SelfService.ApplicationInstancePermission.CreatePermissions are created for an app instance.
SelfService.ApplicationInstancePermission.DeletePermissions are deleted for an app instance.
Event TypeDescription
Admin.KafkaConnect.CreateAdmin creates a Kafka Connect instance.
Admin.KafkaConnect.UpdateAdmin updates a Kafka Connect instance.
Admin.KafkaConnect.DeleteAdmin deletes a Kafka Connect instance.
Admin.KsqlDB.CreateAdmin creates a KsqlDB instance.
Admin.KsqlDB.UpdateAdmin updates a KsqlDB instance.
Admin.KsqlDB.DeleteAdmin deletes a KsqlDB instance.
Admin.KafkaCluster.CreateAdmin creates a Kafka cluster.
Admin.KafkaCluster.UpdateAdmin updates a Kafka cluster.
Admin.KafkaCluster.DeleteAdmin deletes a Kafka cluster.