You can subscribe to audit log reports to receive scheduled updates on the status of a Tair (Redis OSS-compatible) instance by email or DingTalk chatbot.
Prerequisites
Before you begin, ensure that you have:
Enabled the audit log feature for the instance. For more information, see Enable the audit log feature
Create a subscription
Log on to the console and go to the Instances page. In the top navigation bar, select the region where the instance resides, then find the instance and click its ID.
In the left-side navigation pane, choose Logs > Audit Logs.
On the Audit Logs page, choose Subscribe > Create in the upper-right corner.
In the Create Subscription panel, configure the following parameters, then click Next in the lower part of the page.
Parameter Description Subscription Name A name for the subscription. Specify a name based on your business needs. Frequency How often audit log reports are sent. Global Time The time range of audit logs included in each report. Set to Default or Custom. If you select Custom, choose one of the following options: Relative (a rolling window relative to the send time — for example, if the send time is 19:20:31 and you select 1 hour, the report covers 18:20:31 to 19:20:31), Time Frame (a fixed hourly window — for example, if the send time is 19:20:31 and you select 1 hour, the report covers 18:00:00 to 19:00:00), or Custom (a fixed time range you specify). Add Watermark Add watermarks to images in the report. The watermarks can be email addresses or webhook URLs. Use SQL Enhancement For large volumes of log data, enable SQL enhancement powered by Simple Log Service (SLS) to increase the amount of data analyzed per query request. For details, see Enable Dedicated SQL. In the Notification step, click the drop-down list on the right and select one or more notification methods. Valid options include Email and multiple webhook chatbots.
To get webhook URLs for DingTalk chatbots, see DingTalk chatbot webhooks.
Specify the recipients and click Submit in the lower part of the panel.