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
Modifier and TypeClassDescriptionstatic final class
Configuration of event buffering.static final class
Configuration of connection to Splunk. -
Constructor Summary
-
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.boolean
States if anAuditEventHandler
can be used for queries.void
setAuthzToken
(String authzToken) Sets the Splunk authorization token required for making HTTP event collector calls.void
Sets the configuration for buffering.void
Sets 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:EventHandlerConfiguration
States if anAuditEventHandler
can be used for queries.- Specified by:
isUsableForQueries
in classEventHandlerConfiguration
- Returns:
- True - If the
AuditEventHandler
can be used for queries. False - If theAuditEventHandler
can not be used for queries.
-