Class SplunkAuditEventHandlerConfiguration
- java.lang.Object
-
- org.forgerock.audit.events.handlers.EventHandlerConfiguration
-
- org.forgerock.audit.handlers.splunk.SplunkAuditEventHandlerConfiguration
-
public final class SplunkAuditEventHandlerConfiguration extends EventHandlerConfiguration
Configuration for the splunk audit event handler.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
SplunkAuditEventHandlerConfiguration.BufferingConfiguration
Configuration of event buffering.static class
SplunkAuditEventHandlerConfiguration.ConnectionConfiguration
Configuration of connection to Splunk.
-
Constructor Summary
Constructors Constructor Description SplunkAuditEventHandlerConfiguration()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getAuthzToken()
Gets the Splunk authorization token required for making HTTP event collector calls.SplunkAuditEventHandlerConfiguration.BufferingConfiguration
getBuffering()
Gets the configuration for buffering.SplunkAuditEventHandlerConfiguration.ConnectionConfiguration
getConnection()
Gets configuration of connection to Splunk.boolean
isUsableForQueries()
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
setBuffering(SplunkAuditEventHandlerConfiguration.BufferingConfiguration buffering)
Sets the configuration for buffering.void
setConnection(SplunkAuditEventHandlerConfiguration.ConnectionConfiguration connection)
Sets configuration of connection to Splunk.-
Methods inherited from class org.forgerock.audit.events.handlers.EventHandlerConfiguration
getName, getTopics, isEnabled, setEnabled, setName, setTopics
-
-
-
-
Method Detail
-
getBuffering
public SplunkAuditEventHandlerConfiguration.BufferingConfiguration getBuffering()
Gets the configuration for buffering.- Returns:
- the buffering configuration
-
setBuffering
public void setBuffering(SplunkAuditEventHandlerConfiguration.BufferingConfiguration buffering)
Sets the configuration for buffering.- Parameters:
buffering
- the buffering configuration
-
getConnection
public SplunkAuditEventHandlerConfiguration.ConnectionConfiguration getConnection()
Gets configuration of connection to Splunk.- Returns:
- configuration of connection to Splunk
-
setConnection
public void setConnection(SplunkAuditEventHandlerConfiguration.ConnectionConfiguration connection)
Sets configuration of connection to Splunk.- Parameters:
connection
- configuration of connection to Splunk
-
getAuthzToken
public String getAuthzToken()
Gets the Splunk authorization token required for making HTTP event collector calls.- Returns:
- the Splunk authorization token
-
setAuthzToken
public void setAuthzToken(String authzToken)
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.
-
-