You can subscribe to audit log reports of a Tair instance by email or DingTalk so that you can learn about the state of your instance on a regular basis.

Prerequisites

The audit log feature is enabled. For more information, see Enable the audit log feature.

Procedure

  1. Log on to the Tair console and go to the Instances page. In the top navigation bar, select the region in which the instance that you want to manage resides. Then, find the instance and click its ID.
  2. In the left-side navigation pane, choose Logs > Audit Log.
  3. On the Audit Log tab, choose Subscribe > Create in the upper-right corner.
  4. In the Create Subscription panel, configure the parameters and click Next in the lower part of the panel.
    The following table describes the parameters.
    ParameterDescription
    Subscription NameThe subscription name. You can specify this parameter based on your business needs.
    FrequencyThe frequency at which to send the audit log reports.
    Global TimeThe time range during which the audit logs to be sent are generated. Valid values: Default and Custom. If you set this parameter to Custom, you must configure one of the following parameters:
    • Relative: the time range to the current time. For example, if the current time is 19:20:31 and 1 Hour is selected as the relative time range, Tair sends the audit logs that are generated from 18:20:31 to 19:20:31.
    • Time Frame: the time range to the current time on the hour. For example, if the current time is 19:20:31 and 1 Hour is selected as the time frame, Tair sends the audit logs that are generated from 18:00:00 to 19:00:00.
    • Custom: a custom time range during which the audit logs to be sent are generated.
    Add WatermarkSpecifies whether to enable the watermark feature to add watermarks to the images in the audit log reports. The watermarks can be email addresses or webhook URLs.
  5. In the Notifications step, select notification methods from the Notifications drop-down list.
    Valid values include Email and multiple webhook bots. You can select multiple notification methods.
    Note For more information about how to obtain webhook URLs, see DingTalk chatbot webhooks.
  6. Specify the recipients of the notifications and click Submit in the lower part of the panel.