haproxy-log

1.0.1 • Public • Published

haproxy-log: haproxy log file parser

This module provides a very basic parser for the haproxy "HTTP" log file format as recorded by syslog. For information about the haproxy log file, see the haproxy documentation. There's a great deal of detail in the section called "Logging".

This implementation is somewhat restrictive in the format that it recognizes. Unrecognized lines generate a warning to stderr or cause the program to exit prematurely with an error.

Synopsis

To install the command-line tool:

$ npm install -g haproxy-log
...
$ haplog my-haproxy-log.txt

You may also use the parser object directly. For an example, see the implementation of the "haplog" command.

Contributing

See separate contribution guidelines.

Dependents (0)

Package Sidebar

Install

npm i haproxy-log

Weekly Downloads

2

Version

1.0.1

License

MIT

Unpacked Size

28.1 kB

Total Files

10

Last publish

Collaborators

  • bahamat
  • todd.whiteman
  • kusor
  • michael.hicks
  • trentm
  • dap
  • jclulow
  • arekinath
  • melloc
  • kellymclaughlin