TiDBTiDB Docs Dash 2024

Jan 9 - Jan 12 (UTC)
Join us to improve docs and win a prize!
Sign InTry Free

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.

Syntax

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 the audit-id.
  • If you fill in the [audit-id], the execution log of the specified audit-id is checked.

Option

-h, --help

  • Prints the help information.
  • Data type: BOOLEAN
  • Default: false

Output

  • 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

<< Back to the previous page - TiUP DM command list

Was this page helpful?

Download PDFRequest docs changesAsk questions on Discord
Playground
New
One-stop & interactive experience of TiDB's capabilities WITHOUT registration.
Products
TiDB
TiDB Dedicated
TiDB Serverless
Pricing
Get Demo
Get Started
© 2024 PingCAP. All Rights Reserved.
Privacy Policy.