Quickly ingest Papertrail tab-separated archive files into a ELK stack for fast analysis.
- Docker
- Direnv (or some other way to load settings from
.env.local) - Ruby
- Curiosity
Find your Papertrail API token and set it in .env.local
# .env.local
PAPERTRAIL_API_TOKEN=<token>
Ruby setup
gem install bundler
bundleGet the ELK stack running
docker-compose up -d
Kick it off
bundle exec rake
Browse your results via Kibana.
Read more at https://elk-docker.readthedocs.io/.
After importing a small amount of data using bundle exec rake index, you can import
a pre-configured dashboard to use.
- Go to Kibana
- Click Management -> Saved Objects -> Import
- Drag
kibana/export.jsoninto your browser - Enjoy!