LogAnalyzer
インデックスに戻る
概要
Herokuのログを解析し時間帯ごとのログ件数やレスポンスタイムを表示、グラフ化するアプリケーションです。
インストール
git clone git@github.com:shunjikonishi/papertrail-log-analyze.git heroku create git push heroku master heroku config:add S3_ACCESSKEY=<your aws accessKey> heroku config:add S3_SECRETKEY=<your aws secretKey> heroku config:add PAPERTRAIL_ARCHIVE_APP1=<your S3 bucket>/papertrail/logs heroku config:add TIMEZONE=Asia/Tokyo
You can add multiple PAPERTRAIL_ARCHIVE_xxxx.
If you want to access restriction, you should add following configs.
heroku config:add ALLOWED_IP=xxx.xxx.xxx.xxx,yyy.yyy.yyy.yyy,zzz.zzz.zzz.zzz/24 heroku config:add BASIC_AUTHENTICATION=username:password
サンプル
自分自身のログを解析するライブサンプル
http://flect-papertrail.herokuapp.com/
ライセンス
MIT