This topic describes how to view historical and scheduled events, deliver events to your object storage or log service, and view delivery records.
Historical events
The historical events feature records key behaviors in the management of instances, tenants, databases, and accounts, as well as changes to database proxies. It displays the information of events and helps you easily identify the causes of a usage problem.
Historical event types include member management, alert management, data migration management, tenant management, API key management, Fallback configuration management, project settings management, and historical event management. Operations under Project Settings Management include adding, editing, and deleting object storage configurations.
Historical events, as operational audits, only display the historical events relevant to the current project.
Log in to the OceanBase Cloud console.
In the left-side navigation pane, click Events.
On the historical events page, filter and view by Resource Name, Executed By, Event Operation, Event Information, Executed At, and Execution Result.
In the filtered results, you can view the detailed information of historical events.
Clicking on Execution Time will sort the displayed results in either ascending or descending order based on time.
Click the content in the column Event Details to view the detailed process of the event.
Enable the event push service
The event push service delivers historical operation events for the current project to your object storage or log service for compliance audits and log archiving. Scheduled events are excluded. Only one delivery destination can be enabled for a project at a time.
Destination |
Supported services |
Delivery mode |
|---|---|---|
| Object storage | Alibaba Cloud OSS, AWS S3, and Azure Blob Storage | Scheduled delivery: Incrementally delivers events created or updated after the service is enabled, at a specified time each day. Existing events that have not been updated since the service was enabled are not delivered. The first delivery occurs at the first scheduled time after the service is enabled. |
| Log service | Alibaba Cloud SLS | Real-time delivery with a delay of seconds: Delivers events generated after the service is enabled. Earlier events are not delivered. |
Prerequisites
- You are a Project Admin or have project configuration permissions.
- Prepare a destination configuration in the current project that passes validation. You can also add one in the delivery settings. For details, see Manage object storage configurations or Manage log service configurations.
Procedure
Log in to the OceanBase Cloud console.
In the left-side navigation pane, click Events to open the historical events page.
On the historical events page, click Event push service (disabled) in the upper-right corner. In the panel that opens, turn on Event push.
In Delivery settings, select Object storage or Log service and configure the corresponding parameters.
Object storage
ParameterDescriptionObject storage configuration Select an available configuration in the current project.
If none is available, click Add object storage configuration in the drop-down list, create a configuration on the current page, and select it. You can also manage configurations under Project settings > Data delivery destinations > Object storage.Storage path prefix Specify the path for event files in object storage. A path prefix is generated by default. Delivery mode Use Scheduled delivery. Push time Specify the time for automatic delivery each day. Log service
ParameterDescriptionLog service configuration Select an available SLS configuration in the current project.
If none is available, click Add log service in the drop-down list, create a configuration on the current page, and select it. You can also manage configurations under Project settings > Data delivery destinations > Log service.Delivery mode Use Real-time delivery.
Click OK.
After enabling the service, you can view the current delivery configuration, Latest push result, Batches pushed over the past week (including successful and failed batches), and Events pushed over the past week in the Event push service panel. You can view delivered data in the destination object storage or log service.
View delivery details
After delivering events to Alibaba Cloud OSS or SLS, you can view delivery records and use event IDs to verify the data received at the destination. OSS records are displayed by file batch, and SLS records are displayed by event.
In the upper-right corner of the Events page, click Event push service (enabled).
In the Push status section of the Event push service panel, click the number under Batches pushed over the past week to open the View push details panel.
You can filter delivery records by time range or Push result and view the following details.
FieldScheduled delivery to OSSReal-time delivery to SLSPush task ID Identifies a file batch. A scheduled delivery can produce multiple file batches. This field is not displayed. Event ID The IDs of the events in the file batch. The ID of the event associated with the record. Push time The time when delivery of the file batch completed. The time when delivery of the event completed. Push result The delivery result for the file batch. The delivery result for the event. Note
- The delivery result indicates whether data was delivered to the destination. It is separate from the execution result of the operation recorded in historical events.
- Records are sorted by delivery completion time, with the most recent first. Times are displayed in your time zone.
- Use the pagination controls at the bottom of the list to view additional records.
- To verify data at the destination, match the event ID in the delivery details with
deliveryEventIdin the OSS JSONL file or SLS event JSON. - OSS delivery records are displayed by file batch. A single delivery can be split into multiple files, so the number of records may differ from the delivery count shown in the delivery status section.
- If the full set of events in a historical batch is unavailable, the event ID list displays “—”. You can still view the recorded delivery result and time.
Modify the push configuration
In the Event push service panel, click Modify configuration, modify the destination or its parameters, and click OK.
When you switch between object storage and a log service, the previous delivery channel stops and the new channel uses its corresponding delivery mode. When switching to a log service, only events generated after the switch are delivered. Historical data in the previous destination is not migrated.
To change the name or access credentials of a destination configuration, go to Project settings > Data delivery destinations and select Object storage or Log service. Changing the credentials of a shared configuration affects all features that reference it.
Disable event push
In the Event push service panel, turn off Event push and confirm in the dialog box.
Note
Disabling the service stops delivery but retains the delivery configuration and historical statistics. Previously delivered data is not affected. When you enable the service again, the previously selected configuration is displayed. Real-time delivery to a log service includes only events generated after the service is enabled again. Events generated while the service was disabled are not delivered.
Scheduled events
During routine O&M, some O&M events may occur that are beyond what customers can operate on their own. These events are typically initiated by technical engineers from OceanBase Cloud, such as instance upgrade, ODP node upgrade, and node restart. In cloud environments, these event types are generally referred to as proactive O&M events or scheduled events. Customers can receive message notifications about such events via in-site messages and view related records by navigating to Events > Scheduled Events.
View messages
Log in to the OceanBase Cloud console.
Click the message icon in the upper-right corner to view recent notifications in the message panel.
Note
- Click a notification name in the message panel to view its content in a dialog box.
- For a scheduled maintenance notification, you can also click the event ID in the dialog box to open the scheduled events list, where you can view details and manage the event.
View scheduled events
Log in to the OceanBase Cloud console.
In the left-side navigation pane, click Events.
On the Events page, click Scheduled Events.
On the Scheduled Events tab, view details about recent events. To change an event's scheduled execution time or cancel it, go to the Operation column for that event and choose ··· > Modify Scheduled Execution Time or Cancel Schedule.