Settings

Audit service functionality can be controlled using a configuration file. The file is located at <HDR_DOMAIN>/config/fhir/hdr_fhir.yaml.

For example, if there is a requirement to store message payload as part of an audit record, change “savemessagepayload_enabled" property to true. Other important entries in the properties file is as shown below.

#audit enabled - true or false
audit:
      enabled: true

   #audit storage type - FILE or DB
      datastore_type: DB
      standard: CUSTOM

If ‘FILE' is selected as the storage type, audit data goes to a file named audit-hdr-fhir.log.

If ‘DB' is selected as the storage type, audit data goes to a table called OHF_HDR_FHIR_AUDIT. Refer to the FHIR eTRM document for more information about the Audit table.

#collect request/response payload message – true or false

savemessagepayload_enabled=false