title | summary |
---|---|
tiup dm audit |
The `tiup dm audit` command is used to view historical commands executed on all clusters and the execution log of each command. If `[audit-id]` is not filled, the table of operation records is output in reverse chronological order, showing the `audit-id`, execution time, and command. If `[audit-id]` is filled, the execution log of the specified `audit-id` is checked. The `-h, --help` option prints help information. If `[audit-id]` is specified, the corresponding execution log is output. If not specified, a table with the fields ID, Time, and Command is output. |
The tiup dm audit
command is used to view historical commands executed on all clusters and the execution log of each command.
tiup dm audit [audit-id] [flags]
- If you do not fill in the
[audit-id]
, the table of operation records is output in reverse chronological order. The first column is theaudit-id
. - If you fill in the
[audit-id]
, the execution log of the specifiedaudit-id
is checked.
- Prints the help information.
- Data type:
BOOLEAN
- Default: false
- If
[audit-id]
is specified, the corresponding execution log is output. - If
[audit-id]
is not specified, a table with the following fields is output:- ID: the
audit-id
corresponding to this record - Time: the execution time of the command corresponding to the record
- Command: the command corresponding to the record
- ID: the