slaughtr / apache-log-parser

Nodejs Apache Log Parser

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

apache-log-parser

Nodejs Apache Log Parser

Simple lib to naively parse Apache combined log format logs. Pass in a line from a log, get an object back.

This ONLY works with combined log format logs at the moment.

Example usage:

const logParser = require('@slaughtr/apache-log-parser');

const logObject = logParser({ string: someLogLine })

About

Nodejs Apache Log Parser

License:MIT License


Languages

Language:JavaScript 100.0%