mongocli atlascommands are now deprecated because there's a new, dedicated CLI available for Atlas users. Migrate to the Atlas CLI to enjoy the same capabilities and the latest features. You can use
mongocli atlascommands until April 30, 2023.
Get log lines for slow queries for a specified host
help for slowQueryLogs
Profile to use from your configuration file.
mongocli atlas performanceAdvisor slowQueryLogs list - Return log lines for slow queries that the Performance Advisor and Query Profiler identified.