Audit Logger - dcm4che/dcm4chee-arc-light GitHub Wiki
This page explains how one can add an Audit logger to archive device. An Audit logger is required if one wants to make use of Audit logging features.
- 
Go to
Menu -> Configuration, then onDevicespage, select the archive device to which Audit logger needs to be added. - 
In the
Child ObjectsofNetwork Connectionsensure you have asyslogtype of connection, else you need to add one.a. If no syslog connection is found,
+ AddaNetwork Connection. Enter values in fieldsName,Hostname,PortandSave.b. Next go to its
Èxtensions, then select+for addingNetwork Connection Extensionto append proprietary dcm4che attributes. SelectSYSLOG_TLSorSYSLOG_UDPfromProtocoldropdown andSave. - 
Next go back to the archive device's
ExtensionsandEdit extensionofDevice Extension. Go to itsChild Objectsand+ AddanAudit Logger. Enter values in fieldsNameandAudit Record Repository Device Name. Ensure that the device name referenced inAudit Record Repository Device Namehas already been added in LDAP, refer Audit Record Repository.Select thesyslogconnection forNetwork Connection Referencefield andSave. 
One may either
- 
create a LDIF file (e.g.):
version: 1 dn: cn=syslog,dicomDeviceName=dcm4chee-arc,cn=Devices,cn=DICOM Configuration,dc=dcm4che,dc=org objectClass: dcmNetworkConnection objectClass: dicomNetworkConnection dicomHostname: localhost cn: syslog dcmClientBindAddress: 0.0.0.0 dcmProtocol: SYSLOG_UDP dn: cn=Audit Logger,dicomDeviceName=dcm4chee-arc,cn=Devices,cn=DICOM Configuration,dc=dcm4che,dc=org objectClass: dcmAuditLogger cn: Audit Logger dcmAuditRecordRepositoryDeviceReference: dicomDeviceName=logstash,cn=Devices,cn=DICOM Configuration,dc=dcm4che,dc=org dicomNetworkConnectionReference: cn=syslog,dicomDeviceName=dcm4chee-arc,cn=Devices,cn=DICOM Configuration,dc=dcm4che,dc=org dcmAuditLoggerSpoolDirectoryURI: ${jboss.server.temp.url} dcmAuditSourceTypeCode: 4and import it to the LDAP Server by using the ldapmodify command line utility.
 
One may refer Network Connection, dcm4che Network Connection and Audit Logger to understand the description of attributes.
Go to the Control tab on Configuration page in archive UI and reload the configuration.