You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ozone.apache.org by "YiSheng Lien (Jira)" <ji...@apache.org> on 2019/12/07 18:38:00 UTC

[jira] [Assigned] (HDDS-2690) Improve the command usage of audit parser tool

     [ https://issues.apache.org/jira/browse/HDDS-2690?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

YiSheng Lien reassigned HDDS-2690:
----------------------------------

    Assignee: YiSheng Lien

> 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
>
> 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: ozone-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: ozone-issues-help@hadoop.apache.org