You can query event logs for operations on Hologres instances that occurred within the last 90 days. You can use the ActionTrail console, OpenAPI, or developer tools to perform queries. You can deliver the query results to a Simple Log Service Logstore or an Object Storage Service (OSS) bucket for monitoring and alerting, timely audits, and issue analysis. This topic describes how to query event logs in the ActionTrail console.
Notes
-
Event logs for operations on a Hologres instance take about 5 to 10 minutes to generate.
-
You can use ActionTrail to query event logs from only the last 90 days.
-
To handle abnormal behavior in real time, you can configure a trail to receive alerts for important events. For more information, see Use ActionTrail to monitor the use of your Alibaba Cloud account.
-
If you cannot query event logs in the ActionTrail console, you can also use OpenAPI or developer tools. For more information, see API overview.
Log on to the ActionTrail console.
In the left-side navigation pane, choose .
In the top navigation bar, select the region of the event that you want to query from the drop-down list.
-
On the Event Query page, select Cloud Service Name from the drop-down list and enter the product name Hologram in the text box on the right.
-
Click the
icon to view the event details. For a detailed list of events, see Audit events for Hologres. The following table describes the values for Event Name.Event Name
Instance operation corresponding to the event name
create
Create an instance.
Modify
Change the instance configuration (upgrade or downgrade).
StopInstance
Pause an instance.
ResumeInstance
Resume an instance.
DeleteInstance
Delete an instance.
ModifyInstance
Modify the instance name.
modifyInstanceNetworkType
Change the network configuration (enable or disable public and VPC domain names).
ListInstances
View the instance list.
DescribeInstance
View instance details.
GetInstanceMetrics
View monitoring metrics.
Find the event that you want to query and click View Event Details in the Actions column to view the event details and event code.
NoteFor more information about event fields, see Management event structure.