Many years back I've shared a script in the DBA Bundle to easily fetch audit data, recently I thought to add the capability of searching the transactions using LogMiner feature which is a license free feature in the Enterprise Edition, and considered the best option to use for searching audit data if the Standard Auditing is not enabled.
There are some prerequisites of using LogMiner:
- The database Edition should be Enterprise.
- The database should be in ARCHIVE LOG mode.
- Minimal supplemental logging should be enabled during all the time period you're mining the data within.
The script will do check all these prerequisites before using the LogMiner feature.
As usual, the script is very easy to use, just read the prompted messages carefully ...
Download the script from this link:
https://www.dropbox.com/s/xq26ogdyb4ws7lu/search_audit_data.sh?dl=0
And here is the GitHub version:
https://gist.github.com/haballan/4c0668e60e271df2433fa96e8249c8fc