Audit Record Repository - dcm4che/dcm4chee-arc-light GitHub Wiki
This page explains how one can add an Audit Record Repository, to make use of Audit logging features.
- Go to
Menu -> Configuration
, then onDevices
page. FromMore functions
dropdown selectCreate device
. Enter value inDevice Name
field andSave
. - Go to
Child Objects
and+ Add
aNetwork Connection
. Enter values in fieldsName
,Hostname
,Port
andSave
. - Next go to its
Extensions
, then select+
for addingNetwork Connection Extension
to append proprietary dcm4che attributes. SelectSYSLOG_TLS
orSYSLOG_UDP
fromProtocol
dropdown andSave
. - Next go to the
Extensions
of the newly created device andEdit extension
ofDevice extension
. Again go to itsExtensions
and select+
for addingAudit Record Repository
. Select the connection forNetwork Connection Reference
field andSave
.
One may either
-
create a LDIF file (e.g.):
version: 1 dn: dicomDeviceName=logstash,cn=Devices,cn=DICOM Configuration,dc=dcm4che,dc=org objectClass: dcmDevice objectClass: dicomDevice dicomDeviceName: logstash dicomInstalled: TRUE dicomPrimaryDeviceType: LOG dn: cn=syslog,dicomDeviceName=logstash,cn=Devices,cn=DICOM Configuration,dc=dcm4che,dc=org objectClass: dcmNetworkConnection objectClass: dicomNetworkConnection dicomHostname: localhost cn: syslog dcmProtocol: SYSLOG_UDP dicomPort: 514 dn: cn=Audit Record Repository,dicomDeviceName=logstash,cn=Devices,cn=DICOM Configuration,dc=dcm4che,dc=org objectClass: dcmAuditRecordRepository cn: Audit Record Repository dicomNetworkConnectionReference: cn=syslog,dicomDeviceName=logstash,cn=Devices,cn=DICOM Configuration,dc=dcm4che,dc=org
and import it to the LDAP Server by using the ldapmodify command line utility.
One may refer Device, Network Connection, dcm4che Network Connection and Audit Record Repository to understand the description of attributes.
Ensure that after creation of an Audit Record Repository as explained above, Audit logger is configured as well.
Go to the Control tab on Configuration page in archive UI and reload the configuration.