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 onDevices
page, select the archive device to which Audit logger needs to be added. -
In the
Child Objects
ofNetwork Connections
ensure you have asyslog
type of connection, else you need to add one.a. If no syslog connection is found,
+ Add
aNetwork Connection
. Enter values in fieldsName
,Hostname
,Port
andSave
.b. Next go to its
Èxtensions
, then select+
for addingNetwork Connection Extension
to append proprietary dcm4che attributes. SelectSYSLOG_TLS
orSYSLOG_UDP
fromProtocol
dropdown andSave
. -
Next go back to the archive device's
Extensions
andEdit extension
ofDevice Extension
. Go to itsChild Objects
and+ Add
anAudit Logger
. Enter values in fieldsName
andAudit Record Repository Device Name
. Ensure that the device name referenced inAudit Record Repository Device Name
has already been added in LDAP, refer Audit Record Repository.Select thesyslog
connection forNetwork Connection Reference
field 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: 4
and 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.