nginx-parser
nginx-parser copied to clipboard
Parse nginx logs
Something in the regex doesn't like `$time_8601` format. for example `new NginxParser('$remote_addr - $remote_user [$time_8601] ' + '"$request" $status $body_bytes_sent "$http_referer" "$http_user_agent"');` fails to match any lines.
Should be able to use the built-in [zlib](https://nodejs.org/api/zlib.html).
So the regular expression generated from the log format gets pinned to the end of the line (looks like the following line of code does it **index.js:32 - regex =...