mirror of
https://github.com/percona/percona-toolkit.git
synced 2025-09-18 17:58:55 +00:00
PT-182 Added --output-format for MongoDB tools
Added `--output-format` option for pt-mongodb-summary and pt-mongodb-query-digest. Valid values are: text & json. Defaulf: text
This commit is contained in:
@@ -45,6 +45,10 @@ Options
|
||||
``-d``, ``--database``
|
||||
Specifies which database to profile
|
||||
|
||||
``-f``, ``--output-format``
|
||||
Specifies the report output format. Valid options are: ``text``, ``json``.
|
||||
The default value is ``text``.
|
||||
|
||||
``-l``, ``--log-level``
|
||||
Specifies the log level:
|
||||
``panic``, ``fatal``, ``error``, ``warn``, ``info``, ``debug error``
|
||||
|
@@ -35,6 +35,10 @@ Options
|
||||
with a MongoDB server.
|
||||
By default, the ``admin`` database is used.
|
||||
|
||||
``-f``, ``--output-format``
|
||||
Specifies the report output format. Valid options are: ``text``, ``json``.
|
||||
The default value is ``text``.
|
||||
|
||||
``-p``, ``--password``
|
||||
Specifies the password to use when connecting to a server
|
||||
with authentication enabled.
|
||||
|
Reference in New Issue
Block a user