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 suggested indexes for collections experiencing slow queries
help for suggestedIndexes
Profile to use from your configuration file.
mongocli atlas performanceAdvisor suggestedIndexes list - Retrieve suggested indexes for collections experiencing slow queries.