Skip to content

hendritjipto/hatchet

 
 

Repository files navigation

Hatchet - MongoDB JSON Log Analyzer and Viewer

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.

Build

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/.

Quick Start

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.

License

Apache-2.0 License

About

MongoDB JSON Log Analyzer

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Go 98.0%
  • Shell 1.4%
  • Dockerfile 0.6%