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 onDevicespage. FromMore functionsdropdown selectCreate device. Enter value inDevice Namefield andSave. - Go to
Child Objectsand+ AddaNetwork Connection. Enter values in fieldsName,Hostname,PortandSave. - Next go to its
Extensions, then select+for addingNetwork Connection Extensionto append proprietary dcm4che attributes. SelectSYSLOG_TLSorSYSLOG_UDPfromProtocoldropdown andSave. - Next go to the
Extensionsof the newly created device andEdit extensionofDevice extension. Again go to itsExtensionsand select+for addingAudit Record Repository. Select the connection forNetwork Connection Referencefield 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=organd 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.