How to create report directly from mongoDB

Hi,

I am trying to extract data from mongoDB directly via python and need to get a report exactly the way is displayed on “livechat -> Current chats” (name, served by, begin chat, end chat and state).
I am able to acces mongoDB but can’t figure out how to get this data from DB (new to mongoDB and NoSQL DBs), the docs I’ve found don’t tell much about the structure of the data inside the DB.

Any help would be appreciated.

Regards.