Package swiss.trustbroker.audit.service
Class AuditLogBuilder
java.lang.Object
swiss.trustbroker.audit.service.AuditLogBuilder
Build log entry for audit log in expected format:
A postfix can be added in the value (used for fully qualified names):
Dashes in the key name are replaced with underscores to comply with Splunk key requirements.
key=value[,key=value ...]. Value is enclosed in double quotes if
needed (currently: if not alphanumeric or underscore). Double quotes in value escaped with a backslash. A postfix can be added in the value (used for fully qualified names):
key="value (postfix)" Dashes in the key name are replaced with underscores to comply with Splunk key requirements.
-
Constructor Summary
ConstructorsConstructorDescriptionAuditLogBuilder(AuditLogFilter filter) AuditLogBuilder(AuditLogFilter filter, String prefix) -
Method Summary
Modifier and TypeMethodDescriptionappendDtoFields(AuditDto auditDto) append all fields of the AuditDtobuild()toString()