Configuring Hyland.Logging for ELK/Elastic - Diagnostics Service and Diagnostics Console - Foundation 23.1 - Foundation 23.1 - Ready - OnBase - external

Diagnostics Service and Diagnostics Console

Platform
OnBase
Product
Diagnostics Service and Diagnostics Console
Release
Foundation 23.1
License

Hyland.Logging can be configured to send information to ELK/Elastic as well as the Diagnostics Console by modifying the .config file of the server. To configure Hyland.Logging to send information to ELK:

  1. Open the .config file.
  2. Locate the Hyland.Logging section of the file.
  3. In the Routes sub-section, add the following new route:
    <Route name="Logging_LOCAL_ELK">
    <add key="Http" value="http://<LOGSTASH_HOST_MACHINE>:PORT"/>
    <add key="DisableIPAddressMasking" value="false" />
    <add key="CompactHttpFormat"/>
    </Route>
  4. Replace the <LOGSTASH_HOST_MACHINE> value with the address of the Logstash Host Machine.
  5. Replace the PORT value with the port used by Logstash.
  6. Add any additional keys for routing levels or profiles to this route as desired.
  7. In the AuditRoutes sub-section, add the following new route:
    <Route name="Audit_CLOUD_ELK">
    <add key="Http" value="http://<LOGSTASH_HOST_MACHINE>:PORT"/>
    <add key="DisableIPAddressMasking" value="false" />
    <add key="CompactHttpFormat"/>
    </Route>
  8. Replace the <LOGSTASH_HOST_MACHINE> value with the address of the Logstash Host Machine.
  9. Replace the PORT value with the port used by Logstash.
  10. Add any additional keys for routing levels or profiles to this route as desired.
  11. Save the file and restart the application.