Class SplunkAuditEventHandlerConfiguration
java.lang.Object
org.forgerock.audit.events.handlers.EventHandlerConfiguration
org.forgerock.audit.handlers.splunk.SplunkAuditEventHandlerConfiguration
Configuration for the splunk audit event handler.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classConfiguration of event buffering.static final classConfiguration of connection to Splunk. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGets the Splunk authorization token required for making HTTP event collector calls.Gets the configuration for buffering.Gets configuration of connection to Splunk.booleanStates if anAuditEventHandlercan be used for queries.voidsetAuthzToken(String authzToken) Sets the Splunk authorization token required for making HTTP event collector calls.voidSets the configuration for buffering.voidSets configuration of connection to Splunk.Methods inherited from class org.forgerock.audit.events.handlers.EventHandlerConfiguration
getName, getTopics, isEnabled, setEnabled, setName, setTopics
-
Constructor Details
-
SplunkAuditEventHandlerConfiguration
public SplunkAuditEventHandlerConfiguration()
-
-
Method Details
-
getBuffering
Gets the configuration for buffering.- Returns:
- the buffering configuration
-
setBuffering
Sets the configuration for buffering.- Parameters:
buffering- the buffering configuration
-
getConnection
Gets configuration of connection to Splunk.- Returns:
- configuration of connection to Splunk
-
setConnection
Sets configuration of connection to Splunk.- Parameters:
connection- configuration of connection to Splunk
-
getAuthzToken
Gets the Splunk authorization token required for making HTTP event collector calls.- Returns:
- the Splunk authorization token
-
setAuthzToken
Sets the Splunk authorization token required for making HTTP event collector calls.- Parameters:
authzToken- the Splunk authorization token
-
isUsableForQueries
public boolean isUsableForQueries()Description copied from class:EventHandlerConfigurationStates if anAuditEventHandlercan be used for queries.- Specified by:
isUsableForQueriesin classEventHandlerConfiguration- Returns:
- True - If the
AuditEventHandlercan be used for queries. False - If theAuditEventHandlercan not be used for queries.
-