Was looking for a mongodb way to get the number of rows inserted by days in a collection. I spent a lot of time on this mixing many answers found on the web. Finally the result is working so you will find different way to do it in this post.
Tag Archives: mongodb
I needed to access a mongodb instance to manage my collections. I was looking for something like phpmyadmin for mongo but the first tool I found was mongoclient.
This tool is an application for desktop provided for many OS including mac OsX. The quality of the tool is really good.
The mongodb was installed on my server remotely and protected by a firewall so the easiest way to access it was to open a ssh tunnel. Mongoclient is supposed to manage the ssh tunnel in the application but it was not working for me so I had to manually connect the tunnel :
# ssh -L 27017:localhost:27017 -p 22 email@example.com
Once connected it is possible to create a localhost connection with mongoclient.