[
https://issues.apache.org/jira/browse/HDDS-2690?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Marton Elek resolved HDDS-2690.
-------------------------------
Fix Version/s: 0.5.0
Target Version/s: 0.5.0
Resolution: Fixed
> Improve the command usage of audit parser tool
> ----------------------------------------------
>
> Key: HDDS-2690
> URL: https://issues.apache.org/jira/browse/HDDS-2690
> Project: Hadoop Distributed Data Store
> Issue Type: Improvement
> Components: Tools
> Affects Versions: 0.4.0
> Reporter: Yiqun Lin
> Assignee: YiSheng Lien
> Priority: Minor
> Labels: pull-request-available
> Fix For: 0.5.0
>
> Attachments: audiparserLoad.png, auditparserQuery.png,
> auditparserTemplate.png, ozone_auditparser.png
>
> Time Spent: 20m
> Remaining Estimate: 0h
>
> I did the test for ozone-0.4, but found audit parser tool is not so friendly
> to use for user. I input -h option to get help usage, then only this few
> messages:
> {noformat}
> Usage: ozone auditparser [-hV] [--verbose] [-D=<String=String>]... <database>
> [COMMAND]
> Shell parser for Ozone Audit Logs
> <database> Existing or new .db file
> --verbose More verbose output. Show the stack trace of the errors.
> -D, --set=<String=String>
> -h, --help Show this help message and exit.
> -V, --version Print version information and exit.
> Commands:
> load, l Load ozone audit log files
> template, t Execute template query
> query, q Execute custom query
> {noformat}
> Although it shows me 3 options we can use, but I still not know the complete
> command to execute, like how to load audit to db, which available template I
> can use?
> Then I have to get detailed usage from tool doc then come back to execute
> command, it's not effective to use. It will be better to add some necessary
> usage (table structure, available templates, ...)info in command usage.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]