Class CsvAuditEventHandlerConfiguration


  • public class CsvAuditEventHandlerConfiguration
    extends FileBasedEventHandlerConfiguration
    A configuration for CSV audit event handler.

    This configuration object can be created from JSON. Example of valid JSON configuration:

      {
        "name" : "csv",
        "topics": [ "access", "activity", "config", "authentication" ],
        "logDirectory" : "/path/to/audit/files/",
        "formatting" : {
          "quoteChar" : "\"",
          "delimiterChar" : ",",
          "endOfLineSymbols" : "\n"
        },
        "security" : {
          "enabled" : "true",
          "filename" : "/path/to/keystore.jks",
          "password" : "correcthorsebatterystaple",
          "signatureInterval" : "3 seconds"
        },
        "buffering" : {
          "enabled" : "true",
          "autoFlush" : "true"
        }
      }