I asked the same question before here and somehow got a solution that time. But after the flex launch that solution is no longer working.
For any request I make, the result is always empty like this:
I want to run a scheduled cleanup script for old files based on logical size %. But yes anything that gives me the logical size os ok as I can calculate stuff from there. But so far nothing is working.
I am able to get the size in bytes for individual dbs using the mongo shell. If I connect to my db using the mongoshell, then run “use db_name”, then run “db.stats({scale:1})” it returns a list of parameters including the dataSize