Class SyslogAuditEventHandlerConfiguration.SeverityFieldMapping

java.lang.Object
org.forgerock.audit.handlers.syslog.SyslogAuditEventHandlerConfiguration.SeverityFieldMapping
Enclosing class:
SyslogAuditEventHandlerConfiguration

public static final class SyslogAuditEventHandlerConfiguration.SeverityFieldMapping extends Object
Encapsulates configuration for mapping audit event field values to Syslog severity values.
  • Constructor Details

    • SeverityFieldMapping

      public SeverityFieldMapping()
  • Method Details

    • getTopic

      public String getTopic()
      Returns the name of the event topic to which this mapping applies.
      Returns:
      the event topic name.
    • setTopic

      public void setTopic(String topic)
      Sets the name of the event topic to which this mapping applies.
      Parameters:
      topic - the event topic name.
    • getField

      public String getField()
      Returns the name of the event topic field to which this mapping applies.

      If the chosen field is nested, JsonPointer notation should be used.

      Returns:
      the event topic field name.
    • setField

      public void setField(String field)
      Sets the name of the event topic field to which this mapping applies.
      Parameters:
      field - the event topic field name.
    • getValueMappings

      public Map<String,Severity> getValueMappings()
      Returns the mapping of audit event values to Syslog severity values.
      Returns:
      the value mappings.
    • setValueMappings

      public void setValueMappings(Map<String,Severity> valueMappings)
      Sets the mapping of audit event values to Syslog severity values.
      Parameters:
      valueMappings - the value mappings.