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.

Configuration

Using Archive UI

  1. Go to Menu -> Configuration, then on Devices page, select the archive device to which Audit logger needs to be added.

  2. In the Child Objects of Network Connections ensure you have a syslog type of connection, else you need to add one.

    a. If no syslog connection is found, + Add a Network Connection. Enter values in fields Name, Hostname, Port and Save.

    b. Next go to its Èxtensions, then select + for adding Network Connection Extension to append proprietary dcm4che attributes. Select SYSLOG_TLS or SYSLOG_UDP from Protocol dropdown and Save.

  3. Next go back to the archive device's Extensions and Edit extension of Device Extension. Go to its Child Objects and + Add an Audit Logger. Enter values in fields Name and Audit Record Repository Device Name. Ensure that the device name referenced in Audit Record Repository Device Name has already been added in LDAP, refer Audit Record Repository.Select the syslog connection for Network Connection Reference field and Save.

Using LDAP

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.

⚠️ **GitHub.com Fallback** ⚠️