Hatchet is a MongoDB JSON logs analyzer and viewer. It stores processed and aggregated data in an embedded SQLite3 database to support RESTful APIs and a web interface. With an embedded database, Hatchet provides an interactive users experience to search logs and to navigate reports and charts.
Clone and run the build.sh script; gcc is required to support CGO.
git clone --depth 1 [email protected]:simagix/hatchet.git
cd hatchet ; ./build.sh
An executable hatchet is output to the directory dist/.
Use the command below to process a log file, mongod.log.gz and start a web server listening to port 3721.
./dist/hatchet -web mongod.log.gz
Use the URL http://localhost:3721/
in a browser to view reports and charts. if you choose to view in the
legacy format without a browser, use the command below:
./dist/hatchet -legacy mongod.log.gz
For additional usages and integration details, see developer's guide.