Logeater
Parses log files and imports them into a database
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
Clone the gem
git clone git@github.com:concordia-publishing-house/logeater.git
bundle
Create the development database
bundle exec rake db:create db:migrate
Install the gem
bundle exec rake install
Import log files
logeater my_app ~/Desktop/logs/*.gz
To Do
- Set up databases without cloning the gem?
- Import to a Heroku Postgres database?
- Parse other kinds of logs?
- Collect other data from Rails logs?
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