🚀 Big News:Socket Has Acquired Secure Annex.Learn More →
Socket
Book a DemoSign in
Socket

haproxy-log

Package Overview
Dependencies
Maintainers
14
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

haproxy-log

very basic haproxy log parser

latest
Source
npmnpm
Version
1.0.1
Version published
Weekly downloads
5
150%
Maintainers
14
Weekly downloads
 
Created
Source

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.

FAQs

Package last updated on 02 Nov 2021

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts