Setting Up Auditing
There are several reasons why you may want to collect audit data about WebDocs activities. For example:
- To capture and store data for internal audits.
- To comply with Sarbanes-Oxley, HIPAA, Six Sigma, or other similar requirements.
Once audit logging is enabled, WebDocs sends a record to the file DOCLOG00 every time a user performs an activity with a document. This includes searching, viewing, updating, emailing, and even looking at the log file itself. Data accumulates in DOCLOG00 as long as auditing is enabled.
Best Practice: Periodically save or purge the contents of the audit file.
When auditing is enabled, administrators can view the audit log for each document from the web client.
Note: Logging is command-driven, so log entries are added whether a user performs an activity from the website or another application.
Enabling Auditing
To enable auditing:
- From the main menu, choose30: Enable System Audit Logging - DOCAUDIT.
- InOption, choose *SET.
- PressF9and, inEnable Document audit logging, choose *YES.
- PressEnter.
Auditing is enabled. -
(Optional) Set the following additional logging data areas:
- DOCDELLOG - When you delete a document, choose whether to also delete the audit log.
-
- To keep the log:
CHGDTAARA DTAARA(RJSIMAGE/DOCDELLOG) VALUE(*NO) - To delete the log:
CHGDTAARA DTAARA(RJSIMAGE/DOCDELLOG) VALUE(*YES)
- To keep the log:
- DOCLOGLOG - When you add a record to the audit log, choose whether to also add the record to the job log:
-
- To add records to both the audit log and job log:
CHGDTAARA DTAARA(RJSIMAGE/DOCDELLOG) VALUE(*YES) - To add records to only the audit log and not the job log:
CHGDTAARA DTAARA(RJSIMAGE/DOCLOGLOG) VALUE(*NO)
- To add records to both the audit log and job log:
See also:
- Purging Log Entries to delete log entries.
- Appendix A: Reference of Relevant Data Areas for a reference of logging data areas.
Viewing the Audit Log for a Document
Only users with administrative rights can view the log. The log button does not display for non-administrator users.
To view the audit log for a document in the web client:
- Go to a document's details page.
- Click Log.
The Audit Log for that document displays.