[
https://issues.apache.org/jira/browse/HDDS-376?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16595401#comment-16595401
]
Dinesh Chitlangia edited comment on HDDS-376 at 8/28/18 6:29 PM:
-----------------------------------------------------------------
[~ajayydv]
{quote}AuditMessage#getParameters: this can return parameter values of params
map?
{quote}
Yes, we can try to implement it.
What use case do you have in mind for implementing this?
was (Author: dineshchitlangia):
[~ajayydv]
{quote}AuditMessage#getParameters: this can return parameter values of params
map?
{quote}
Yes, we will need to implement it. However, that method is used internally by
log4j.
What use case do you have in mind for implementing this?
> Create custom message structure for use in AuditLogging
> -------------------------------------------------------
>
> Key: HDDS-376
> URL: https://issues.apache.org/jira/browse/HDDS-376
> Project: Hadoop Distributed Data Store
> Issue Type: Improvement
> Reporter: Dinesh Chitlangia
> Assignee: Dinesh Chitlangia
> Priority: Major
> Labels: audit, logging
> Fix For: 0.2.1
>
> Attachments: HDDS-376.001.patch, HDDS-376.002.patch,
> HDDS-376.003.patch, HDDS-376.004.patch
>
>
> In HDDS-198 we introduced a framework for AuditLogging in Ozone.
> We had used StructuredDataMessage for formatting the messages to be logged.
>
> Based on discussion with [~jnp] and [~anu], this Jira proposes to create a
> custom message structure to generate audit messages in the following format:
> user=xxx ip=xxx op=XXXX_XXXX \{key=val, key1=val1..} ret=XXXXXX
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]