Audit Database mask
- Last UpdatedOct 04, 2024
- 1 minute read
- PI System
- PI Server
To specify one or more Audit Databases to export to XML, use the command:
pidiag -xa dbmask mask
The value for mask is a decimal integer sum of the values corresponding to the databases to export. For example, the mask for the User database is 32, and the mask for the Group database is 64. You can export Audit records for these two databases by specifying a value of 96:
pidiag -xa ..\temp\pibasessAudit.dat -dbmask 96
See EnableAudit tuning parameter for a list of database mask values.