Can't see audit logs
We enabled the audit_trail=true from init.ora, restarted the database, then opened audit for select, but we couldn't see any audit logs. What can we do?

    Requires Free Membership to View

    By submitting your registration information to SearchOracle.com you agree to receive email communications from TechTarget and TechTarget partners. We encourage you to read our Privacy Policy which contains important disclosures about how we collect and use your registration and other information. If you reside outside of the United States, by submitting this registration information you consent to having your personal data transferred to and processed in the United States. Your use of SearchOracle.com is governed by our Terms of Use. You may contact us at webmaster@TechTarget.com.

If you have AUDIT_TRAIL=TRUE, that is just the first part. You'll need to tell Oracle what to audit. This is done with the AUDIT command.

When Oracle does log items in the audit trail, you will find them in the DBA_AUDIT_TRAIL view. If you want the audit trail written to an external file, then set AUDIT_TRAIL=OS instead.

This was first published in January 2007

Join the conversationComment

Share
Comments

    Results

    Contribute to the conversation

    All fields are required. Comments will appear at the bottom of the article.