nginx-log-traffic-parser
v1.0.3
Published
This library is needed for parsing nginx traffic-accounting-nginx-module logs
Downloads
5
Readme
About
This package is intended for parsing the log file that creates this nginx-module
Installing
$ npm i nginx-log-traffic-parser
Once the package is installed, you can import the library using import
import parser from 'nginx-log-traffic-parser'
Example
import parser from 'nginx-log-traffic-parser'
const result = await parser('../http-traffic-example.log') // the path in the file is passed as an argument
console.log(result)