Class SyslogAuditEventHandlerConfiguration.SeverityFieldMapping
java.lang.Object
org.forgerock.audit.handlers.syslog.SyslogAuditEventHandlerConfiguration.SeverityFieldMapping
- Enclosing class:
- SyslogAuditEventHandlerConfiguration
Encapsulates configuration for mapping audit event field values to Syslog severity values.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetField()Returns the name of the event topic field to which this mapping applies.getTopic()Returns the name of the event topic to which this mapping applies.Returns the mapping of audit event values to Syslog severity values.voidSets the name of the event topic field to which this mapping applies.voidSets the name of the event topic to which this mapping applies.voidsetValueMappings(Map<String, Severity> valueMappings) Sets the mapping of audit event values to Syslog severity values.
-
Constructor Details
-
SeverityFieldMapping
public SeverityFieldMapping()
-
-
Method Details
-
getTopic
Returns the name of the event topic to which this mapping applies.- Returns:
- the event topic name.
-
setTopic
Sets the name of the event topic to which this mapping applies.- Parameters:
topic- the event topic name.
-
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
Sets the name of the event topic field to which this mapping applies.- Parameters:
field- the event topic field name.
-
getValueMappings
Returns the mapping of audit event values to Syslog severity values.- Returns:
- the value mappings.
-
setValueMappings
Sets the mapping of audit event values to Syslog severity values.- Parameters:
valueMappings- the value mappings.
-