Introduction
The VIVO audit module enables tracking of changes being made in the triple store by users and non-person entities.
Changes are recorded in a triple store, with the users ID (URI), the time, and the changes that have been made.
A user interface (/audit) is also provided that, when logged in, displays the changes.
ConfigurationÂ
Before you run the Tomcat server with VIVO, please configure the following in {VIVO_HOME}/config/applicationSetup.n3:
:application a vitroWebapp:application.ApplicationImpl , vitroWebapp:modules.Application ; :hasSearchEngine :instrumentedSearchEngineWrapper ; :hasSearchIndexer :basicSearchIndexer ; :hasImageProcessor :iioImageProcessor ; :hasFileStorage :ptiFileStorage ; :hasAuditModule :tdbAuditModule ; :hasContentTripleSource :tdbContentTripleSource ; :hasConfigurationTripleSource :tdbConfigurationTripleSource ; :hasTBoxReasonerModule :jfactTBoxReasonerModule . # ---------------------------- # # Audit module: # :tdbAuditModule a <java:edu.cornell.mannlib.vitro.webapp.audit.TDBAuditModule> , <java:edu.cornell.mannlib.vitro.webapp.audit.AuditModule> ; :hasTdbDirectory "tdbAuditModels" .
User interface
- Login as admin or root user
- open /audit page in web browser (for instance http://vivo.someorganization.com/audit)
- View changes logs presented on the page
- Logs can be filtered by defining editor uri, graph uri, and time frame