public class JsonAuditEventHandlerConfiguration extends FileBasedEventHandlerConfiguration
JsonAuditEventHandler.| Modifier and Type | Class and Description |
|---|---|
static class |
JsonAuditEventHandlerConfiguration.EventBufferingConfiguration
Configuration of event buffering.
|
FileBasedEventHandlerConfiguration.FileRetention, FileBasedEventHandlerConfiguration.FileRotation| Constructor and Description |
|---|
JsonAuditEventHandlerConfiguration() |
| Modifier and Type | Method and Description |
|---|---|
JsonAuditEventHandlerConfiguration.EventBufferingConfiguration |
getBuffering()
Gets configuration of event buffering.
|
String |
getLogDirectory()
Gets the directory where the JSON file is located.
|
boolean |
isElasticsearchCompatible()
Determines if JSON format should be transformed to be compatible with ElasticSearch format restrictions.
|
boolean |
isUsableForQueries()
States if an
AuditEventHandler can be used for queries. |
void |
setBuffering(JsonAuditEventHandlerConfiguration.EventBufferingConfiguration buffering)
Sets configuration of event buffering.
|
void |
setElasticsearchCompatible(boolean elasticsearchCompatible)
Specifies if JSON format should be transformed to be compatible with ElasticSearch format restrictions.
|
void |
setLogDirectory(String directory)
Sets the directory where the JSON file is located.
|
getFileRetention, getFileRotation, getRotationRetentionCheckInterval, setFileRetention, setFileRotation, setRotationRetentionCheckIntervalgetName, getTopics, isEnabled, setEnabled, setName, setTopicspublic String getLogDirectory()
public void setLogDirectory(String directory)
directory - location of the JSON filepublic boolean isElasticsearchCompatible()
true for ElasticSearch JSON format compatibility enforcement and false otherwisepublic void setElasticsearchCompatible(boolean elasticsearchCompatible)
elasticsearchCompatible - true for ElasticSearch JSON format compatibility enforcements and
false otherwisepublic JsonAuditEventHandlerConfiguration.EventBufferingConfiguration getBuffering()
public void setBuffering(JsonAuditEventHandlerConfiguration.EventBufferingConfiguration buffering)
buffering - configuration of event bufferingpublic boolean isUsableForQueries()
EventHandlerConfigurationAuditEventHandler can be used for queries.isUsableForQueries in class EventHandlerConfigurationAuditEventHandler can be used for queries.
False - If the AuditEventHandler can not be used for queries.Copyright © 2025 Open Identity Platform Community. All rights reserved.