Specify location to store audit archived and active logs files.
DB2 audit log files come in two types: active and archived.
Execute the commands shown in the right pane from DB2 command window.
Windows specific instructions
SECADM Pat performs the following steps in a DB2 CLP as shown in the right pane. Replace C:\Audit with a path you like.
db2audit configure archivepath C:\Audit
. This sets the archived log path to C:\Audit.db2audit configure datapath C:\Audit
. This sets the active log (data path) path to C:\Audit.Linux specific Instructions
Archive path must be created, with permissions to write to it.Create audit archive directory as follows:
db2audit configure archivepath $HOME/Audit
. This sets the archived log path to $HOME/Audit.db2audit configure datapath $HOME/Audit
. This sets the active log (data path) path to $HOME/Audit.