Log all MongoDB queries in a "tail"able way https://pypi.python.org/pypi/mongotail
1.5K
Mongotail, Log all MongoDB queries in a "tail"able way.
mongotail is a command line tool to outputs any operation from a Mongo database in the standard output. You can see the operations collected by the database profiler from a console, or redirect the result to a file, pipes it with grep or other command line tool, etc.
The syntax is very similar to mongo client, and the output, as like tail command will be the latest 10 lines of logging.
But the more interesting feature (also like tail) is to see the changes in "real time" with the -f option, and occasionally filter the result with grep to find a particular operation.
Content type
Image
Digest
Size
73.9 MB
Last updated
almost 10 years ago
docker pull fgribreau/mongotail