Docs Menu

mongocli atlas performanceAdvisor slowQueryLogs list

On this page

  • Syntax
  • Options
  • Inherited Options

List namespaces for collections experiencing slow queries for a specified host

mongocli atlas performanceAdvisor slowQueryLogs list [options]
Name
Type
Required
Description
--duration
int
false
Length of time from the since parameter, in milliseconds, for which you want to receive results.
-h, --help
false
help for list
--hostId
string
false
The unique identifier for the host of a MongoDB process.
--nLog
int
false
Maximum number of log lines to return. (default 20000)
--namespaces
string
false
Namespaces from which to retrieve suggested slow query logs.
-o, --output
string
false
Output format. Valid values: json|json-path|go-template|go-template-file
--processName
string
false
The unique identifier for the host of a MongoDB process in the following format: {hostname}:{port}.
--projectId
string
false
Project ID to use. Overrides configuration file or environment variable settings.
--since
int
false
Point in time, specified as milliseconds since the Unix Epoch, from which you want to receive results.
Name
Type
Required
Description
-P, --profile
string
false
Profile to use from your configuration file.

Auto generated by cobra2snooty on 13-Jul-2021

Give Feedback
© 2021 MongoDB, Inc.

About

  • Careers
  • Legal Notices
  • Privacy Notices
  • Security Information
  • Trust Center
© 2021 MongoDB, Inc.