atlas performanceadvisor slowquerylogs ls
Return log lines for slow queries that the Performance Advisor and Query Profiler identified
Options
Name | Description |
---|---|
--duration <duration> | Length of time from the since parameter, in milliseconds, for which you want to receive results |
--hostId <hostId> | Unique identifier for the host of a MongoDB process |
--nLog <nLog> | Maximum number of log lines to return |
--namespaces <namespaces> | Namespaces from which to retrieve suggested slow query logs |
--output, -o <output> | Output format. Valid values are json, json-path, go-template, or go-template-file |
--processName <processName> | Unique identifier for the host of a MongoDB process in the following format: {hostname}:{port} |
--projectId <projectId> | Project ID to use. Overrides the settings in the configuration file or environment variable |
--since <since> | Point in time, specified as milliseconds since the Unix Epoch, from which you want to receive results |