tencent cloud

Feedback

Modifying Audit Services

Last updated: 2023-12-06 15:06:08
    This document describes the procedure of modifying the audit service on the console.
    Note:
    If you choose to extend the log retention period, the change will be enforced immediately. If you choose to shorten the log retention period, logs that have exceeded their storage period will be cleaned immediately.
    If you configure that data in recent n days is stored in the frequent access storage, data exceeding the n days threshold will be automatically reallocated to the infrequent access storage. As the duration of frequent access storage extends, audit data compliant with the retention duration will be automatically migrated from infrequent to frequent access storage.

    Prerequisites

    You have enabled the audit service. For more information, see Enabling Audit Service.

    Modifying the Audit Service of one Individual Instance

    1. Log in to the TencentDB for MySQL console.
    2. On the left sidebar, choose Database Audit.
    3. After selecting the desired Region at the top, proceed to the Audit Instances page, and then click Audit Status and select the Enabled option to filter the instances with audit enabled.
    4. Locate the target instance in the Audit Instances list (or you can quickly find it by filtering resource attributes in the search box), and in the Operation column, select More > Modify Audit Service.
    
    5. On the Modify Audit Service page, after adjusting the Log Retention Period or the Frequent Access Storage Period, click OK.
    

    Modifying Audit Services in Batches

    1. Log in to the TencentDB for MySQL console.
    2. On the left sidebar, choose Database Audit.
    3. After selecting a Region at the top, click on Audit Status and select Enabled on the Audit Instances page to filter instances without active audit process.
    4. Find the target instances in the Audit Instance list, or expediently locate them using resource attribute filters in the search bar. On the Audit Instance page, select multiple target instances, and then click Modify Audit Service located above the list.
    
    5. On the Modify Audit Service page, after adjusting the Log Retention Period or the Frequent Access Storage Period, click OK.
    Note:
    For ease of comparison, the Batch Modify Audit Service page will display the log retention period both before and after modification. After the adjustment, the selected instances will collectively begin to adapt to the new log retention period. Therefore, ensure the modifications are accurate before proceeding.
    
    Contact Us

    Contact our sales team or business advisors to help your business.

    Technical Support

    Open a ticket if you're looking for further assistance. Our Ticket is 7x24 avaliable.

    7x24 Phone Support