Class JsonStdoutAuditEventHandlerConfiguration
java.lang.Object
org.forgerock.audit.events.handlers.EventHandlerConfiguration
org.forgerock.audit.handlers.json.stdout.JsonStdoutAuditEventHandlerConfiguration
Configuration for
JsonStdoutAuditEventHandler
.-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
Determines if JSON format should be transformed to be compatible with ElasticSearch format restrictions.boolean
States if anAuditEventHandler
can be used for queries.void
setElasticsearchCompatible
(boolean elasticsearchCompatible) Specifies if JSON format should be transformed to be compatible with ElasticSearch format restrictions.Methods inherited from class org.forgerock.audit.events.handlers.EventHandlerConfiguration
getName, getTopics, isEnabled, setEnabled, setName, setTopics
-
Constructor Details
-
JsonStdoutAuditEventHandlerConfiguration
public JsonStdoutAuditEventHandlerConfiguration()
-
-
Method Details
-
isElasticsearchCompatible
public boolean isElasticsearchCompatible()Determines if JSON format should be transformed to be compatible with ElasticSearch format restrictions.- Returns:
true
for ElasticSearch JSON format compatibility enforcement andfalse
otherwise
-
setElasticsearchCompatible
public void setElasticsearchCompatible(boolean elasticsearchCompatible) Specifies if JSON format should be transformed to be compatible with ElasticSearch format restrictions.- Parameters:
elasticsearchCompatible
-true
for ElasticSearch JSON format compatibility enforcements andfalse
otherwise
-
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.
-