Configuring Usage Audit
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
Usage Audit is active by default; make sure it is activated before activating other data collection sources. If it is inactive, follow these instructions to activate:
- 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_yamlinit coreserver update asset core_audit.yaml:general.active=true -
Open the Task Manager.
-
Under Services, restart the OpeniTCoreServerPipeline service.
-
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_yamlinit coreserver update asset core_audit.yaml:general.active=true -
Restart the Open iT Core Server Pipeline service, run the command:
Command Syntaxsystemctl restart openit-coreserverpipeline
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 --fromUse this to specify the start date for data parsing ( YYYY-MM,YYYY/MM,YYYY)--toUse this to specify the end date for data parsing ( YYYY-MM,YYYY/MM,YYYY)--debugUse this to activate debugging mode --verboseUse 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\auditcontains 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 Syntax./openit_audit <args>Name Description --fromUse this to specify the start date for data parsing ( YYYY-MM,YYYY/MM,YYYY)--toUse this to specify the end date for data parsing ( YYYY-MM,YYYY/MM,YYYY)--debugUse this to activate debugging mode --verboseUse this activate verbose logging mode. This will not work without --debug.Arguments for executing openit_audit
Example./openit_audit --from 2020-01 --to 2020-05 --debug --verbose -
Verify that
/data/database/auditcontains 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.