Help Center > > User Guide> Managing Active Clusters> Log Management> Configuring Audit Log Export Parameters

Configuring Audit Log Export Parameters

Updated at: Apr 28, 2020 GMT+08:00


If MRS audit logs are stored in the system for a long time, the disk space for data directories may become insufficient. You can set export parameters to automatically export audit logs to a specified directory on the OBS.

The audit logs to be exported include both the service and management audit logs.

  • Service audit logs are compressed automatically at 03:00 a.m. every day and save in /var/log/Bigdata/audit/bk/ on the active management node. The file name format is <yyyy-MM-dd_HH-mm-ss>.tar.gz. A maximum of seven log files can be saved by default. After the number of files has reached the maximum value, the earliest file will be deleted when a new one is generated.
  • When you export management audit logs, the logs that are generated between the time of the last successful export and the current time are exported. When the number of records in a management audit log reaches 100,000, the system dumps the first 90,000 records to a local file and retains the rest 10,000 records in the database. The log file is dumped to ${BIGDATA_DATA_HOME}/dbdata_om/dumpData/iam/operatelog on the active management node. The file name format is OperateLog_store_YY_MM_DD_HH_MM_SS.csv. A maximum of 50 management audit logs can be saved.


  • You have obtained the Access Key ID (AK) and Secret Access Key (SK) for the corresponding account. For details, see My Credential > How Do I Manage Access Keys?.
  • ou have created a bucket in the Object Storage Service (OBS) system for the corresponding account. For details, see Creating a Bucket.


  1. On MRS Manager, click System.
  2. Click Export Audit Log in Maintenance.

    Table 1 Parameters for exporting audit logs




    Export Audit Log


    Indicates whether to enable the audit log export function.

    • : Enabled
    • : Disabled

    Start Time

    7/24/2017 09:00:00 (example value)


    Indicates the start time for audit log export.


    1 day (example value)


    Indicates the interval for exporting audit logs. The value ranges from 1 day to 5 days.


    mrs-bucket (example value)


    Indicates the name of the OBS bucket to which audit logs are exported.

    OBS Path

    opt/omm/oms/auditLog (example value)


    Indicates the OBS path for exporting audit logs.


    XXX (example value)


    Indicates the user's Access Key ID (AK) information.


    XXX (example value)


    Indicates the user's Secret Access Key (SK) information.

    The OBS path is divided into service_auditlog and manager_auditlog, which are used to save service and management audit logs, respectively.

Did you find this page helpful?

Submit successfully!

Thank you for your feedback. Your feedback helps make our documentation better.

Failed to submit the feedback. Please try again later.

Which of the following issues have you encountered?

Please complete at least one feedback item.

Content most length 200 character

Content is empty.

OK Cancel