All Products
Search
Document Center

:Query event logs

Last Updated:Jan 30, 2024

Hologres allows you to query the instance-related event logs that were generated within the last 90 days by using the ActionTrail console, calling ActionTrail API operations, or using developer tools. You can also create a trail to deliver event logs to a specified Log Service Logstore or OSS bucket. This way, you can monitor events, set alert rules for events, audit events in real time, and troubleshoot issues. This topic describes how to query event logs in the ActionTrail console.

Usage notes

  • After you perform an operation on a Hologres instance, you must wait about 5 to 10 minutes before the related event log is generated.

  • If you use ActionTrail to query event logs related to Hologres instances, you can query only the event logs that were generated within the last 90 days.

  • If you need to handle exceptions in real time, you can configure alert rules for trails to monitor important events. For more information, see Use ActionTrail to monitor the use of an Alibaba Cloud account.

  • If the ActionTrail console is unavailable, you can call the ActionTrail API operations or use developer tools to query event logs related to Hologres instances. For more information, see API overview.

  1. Log on to the ActionTrail console.

  2. In the left-side navigation pane, choose Events > Event Query.

  3. In the top navigation bar, select the region of the event that you want to query from the drop-down list.

  4. On the Event Query page, select Service Name from the drop-down list and enter Hologram in the field on the right.

  5. Click the 搜索 icon. Then, you can view specific events below the search box. The following table describes the meanings of different event names.

    Event name

    Operation

    create

    Create an instance.

    Modify

    Upgrade or downgrade the specifications of an instance.

    StopInstance

    Suspend an instance.

    ResumeInstance

    Resume an instance.

    DeleteInstance

    Delete an instance.

    ModifyInstance

    Rename an instance.

    modifyInstanceNetworkType

    Change network configurations. For example, you can enable or disable the public endpoint or VPC endpoint of an instance.

    ListInstances

    View instances.

    DescribeInstance

    View the details of the instance.

    GetInstanceMetrics

    View metrics.

  6. 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.

    Note

    For more information about event fields, see Management event structure.