Can someone guide me on how to collect the historical data of sessions that are running in mongodb server ?
For Instance, If I need the queries that are running in a span of 5 min on a particular day, where can I get those details ?
Mongodb Profiling is a good option, but we need to capture each and every query.
Can we save the db.CurrentOp() to a collection in another database ?
Thank you for your response. However, If we are using community version of MongoDB, Is there a way to collect the historical data of sessions that are running?