Help Center/ GeminiDB/ GeminiDB DynamoDB-Compatible API/ Working with GeminiDB DynamoDB-Compatible API/ Log Management/ Managing Audit Logs for a GeminiDB DynamoDB-Compatible Instance
Updated on 2026-06-16 GMT+08:00

Managing Audit Logs for a GeminiDB DynamoDB-Compatible Instance

Scenarios

You can configure and view audit logs of databases on GeminiDB DynamoDB-Compatible instances. New logs generated for your instance will be uploaded to Log Tank Service (LTS) for management. LTS provides a unified platform to analyze, query, visualize, download, and view real-time logs. This centralizes log management, enhances data security, and improves operational efficiency.

Billing

You will be billed for enabling this function. For details, see LTS Pricing Details.

Usage Notes

  • Logs for the following operations are supported: CreateTable, UpdateTable, DeleteTable, and UpdateTimeToLive.
  • The kernel version must be 3.11.3.260300 or later.
  • Ensure that there are available LTS log groups and log streams in the same region as your instance. For more information about log groups and log streams, see Log Management.

Audit Log Management

  1. Log in to the GeminiDB console.
  2. In the navigation pane, choose Log Reporting.
  3. Method 1:

    Locate the row containing your target instance and click in the Report Audit Logs to LTS column.

    In the displayed dialog box, select an LTS log group and log stream and click OK.
    Figure 1 Enabling audit log reporting to LTS

    Method 2:

    Select one or more instances and click Enable Log Reporting.

    In the displayed dialog box, select an LTS log group and log stream and click OK.

    Figure 2 Enabling log reporting

    • Once the function is configured, there is a delay of approximately 10 minutes before the settings are applied.
    • You will be billed for enabling this function. For details, see LTS Pricing Details.

  1. Log in to the GeminiDB console.
  2. In the navigation pane, choose Log Reporting.
  3. Select at least one instance and click Disable Log Reporting.
  4. In the displayed dialog box, click OK.

    Figure 3 Disabling log reporting

  1. Log in to the LTS console.
  2. In the Log Groups area on the Log Management page, locate the required log group and log stream, and click the log stream name to go to the details page.
  3. Set From now to select a relative time (15 minutes by default) in the upper right corner as needed.
  4. On the Raw Logs tab, view the audit logs generated in the relative time period.

Related APIs

API

Description

Associating Instances with an LTS Log Stream

Associates an instance with an LTS log stream.

Disassociating Instances from an LTS Log Stream

Disassociates an instance from an LTS log stream. After the disassociation, instance logs will no longer be uploaded to the LTS log stream.

Querying LTS Log Configurations

Queries the LTS configuration of instances.