We are pleased to announce the initial release of Edda. Edda is a tool for MongoDB that takes mongod log files and generates easy-to-parse pictures of the represented servers.
Edda showing a five-member set with replication paths and member states.
MongoDB servers generate some pretty substantial log files. These lengthy logs are one of the more important tools we have for diagnosing issues with MongoDB servers. However, correlating logs from multiple servers can be time-consuming. Enter Edda, a log visualizer for MongoDB. We hope that this tool will be helpful to MongoDB administrators.
Possible states represented.
For its first release, we focused on visualizing replica sets with Edda. We plan to support visualizing logs from sharded clusters in the future.
A three-member set with one primary, one secondary, and one down node.
Want to try Edda? Install it with pip!
$ pip install edda
Then run Edda from the command line, giving one or more log files for it to parse:
$ edda server1.log server2.log server3.log
Edda requires a mongod to be running. Once Edda has parsed the logs, it will pop up a browser window with a timeline of the events.
You can run Edda on any subset of log files available. This is an example of running Edda on one log file from a seven-member replica set.
A bit about the team: Edda was designed, coded, tested, packaged, and released by Samantha Ritter and Kaushal Parikh, two of MongoDB’s summer interns. We are so happy to have the chance to build a tool for MongoDB and see it through its first release.