My Oracle Support Banner

[OCI] Change Audit File Retention For Remove Audit files Job. (Doc ID 2734558.1)

Last updated on FEBRUARY 20, 2024

Applies to:

Oracle Cloud Infrastructure - Database Service - Version N/A to N/A [Release 1.0]
Information in this document applies to any platform.

Goal

The default audit log retention is 30 days when Remove Audit files job runs daily.

Example:

# dbcli list-jobs

9786c74e-6a1b-48a9-b5b3-c43a337eb8b0     Remove Audit files for DB: xxxx                                             December 1, 2020 12:00:00 AM UTC    Success
d2b5bf02-85a2-4604-8a21-6f89aafb4714     Remove Audit files for DB: xxxx                                             December 2, 2020 12:00:00 AM UTC    Success

# dbcli describe-job -i d2b5bf02-85a2-4604-8a21-6f89aafb4714

Job details
----------------------------------------------------------------
                    ID:  d2b5bf02-85a2-4604-8a21-6f89aafb4714
           Description:  Remove Audit files for DB: xxxx
                Status:  Success
               Created:  December 2, 2020 12:00:00 AM UTC
              Progress:  100%
               Message:

Task Name                                                                Start Time                          End Time                            Status
------------------------------------------------------------------------ ----------------------------------- ----------------------------------- ----------
Delete audit files                                                       December 2, 2020 12:00:00 AM UTC    December 2, 2020 12:00:01 AM UTC    Success


How to change the retention for database audit files to control deletion by this job?

Solution

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


In this Document
Goal
Solution

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.