Configuring Usage Audit
The Open iT Usage Audit allows you to generate a periodic report that displays the number of distinct users per month, per module, for the past 12 months.
Activating Usage Audit
- Windows
- Unix
-
Open a command prompt with Administrator level privileges.
-
Go to the bin directory, which is by default in
C:\Program Files\OpeniT\Core\bin
, run the command:Command Syntaxcd $BIN_DIR
Examplecd C:\Program Files\OpeniT\Core\bin
-
Once in the directory, activate the task for auditing distinct application users of Open iT, run the command:
Command Syntaxopenit_oconfinit -u "core_audit.root.scheduler.jobs.core_audit.general.active=true"
-
Go to the bin directory, which is by default in
/opt/openit/bin
, run the command:Command Syntaxcd $BIN_DIR
Examplecd /opt/openit/bin
-
Once in the directory, activate the task for auditing distinct application users of Open iT, run the command:
Command Syntax./openit_oconfinit -u "core_audit.root.scheduler.jobs.core_audit.general.active=true"
Verify Report Generation
- Windows
- Unix
-
Open a command prompt with Administrator level privileges.
-
Go to the bin directory, which is by default in
C:\Program Files\OpeniT\Core\bin
, run the command:Command Syntaxcd C:\Program Files\OpeniT\Core\bin
-
Run the command to generate distinct usage report:
Command Syntaxopenit_audit.exe <args>
Name Description --from
Use this to specify the start date for data parsing ( YYYY-MM
,YYYY/MM
,YYYY
)--to
Use this to specify the end date for data parsing ( YYYY-MM
,YYYY/MM
,YYYY
)--debug
Use this to activate debugging mode --verbose
Use this activate verbose logging mode. This will not work without --debug
.Arguments for executing openit_audit
Exampleopenit_audit.exe --from 2020-01 --to 2020-05 --debug --verbose
-
Verify that
C:\ProgramData\OpeniT\Data\database\audit
contains the following files.- audit.db
- audit.sign
- audit_trail
-
Go to the bin directory, which is by default in
/opt/openit/bin
, run the command:Command Syntaxcd /opt/openit/bin
-
Run the command to generate distinct usage report:
Command Syntaxopenit_audit <args>
Name Description --from
Use this to specify the start date for data parsing ( YYYY-MM
,YYYY/MM
,YYYY
)--to
Use this to specify the end date for data parsing ( YYYY-MM
,YYYY/MM
,YYYY
)--debug
Use this to activate debugging mode --verbose
Use this activate verbose logging mode. This will not work without --debug
.Arguments for executing openit_audit
Exampleopenit_audit --from 2020-01 --to 2020-05 --debug --verbose
-
Verify that
/data/database/audit
contains the following files. The directory may vary depending on the declared database value upon installation.- audit.db
- audit.sign
- audit_trail
Next Steps?
After configuring Usage Audit, you may proceed with its user interface.