The sentry-log-pusher
parse the apache or nginx log and push the entries to sentry.
Download the pusher.phar
file.
$ curl -OsL https://github.com/move-elevator/sentry-log-pusher/releases/download/1.0.0/pusher.phar
$ chmod +x pusher.phar
Parse your log with the following parameters:
pusher.phar push path/to/log/file/error.log --sentry-dsn=https://user:[email protected]
Optional parameters are:
- --logfile-type: apache or nginx, default apache
- --log-type: warn, error, ..., default all entries