Logeater
Parses log files and imports them into a database or converts them to json
Features
- Can read from plain text or gzipped log files
- Parses parameters safely
- Can import a batch of files at once
- Parses these attributes of requests
Usage
Importing log files
gem install logeater
DATABASE_URL=<production database url> logeater import <app name> <path to logs>/*.gz
Converting log files to JSON
gem install logeater
logeater parse <app name> <path to logs>/*.gz > parsed-logs.json
Contributing
- Fork it ( https://github.com/[my-github-username]/logeater/fork )
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am "Add some feature"
) - Push to the branch (
git push origin my-new-feature
) - Create a new Pull Request