#Skip to menu

Log format parser

logparse is a library written in golang to parse the most common log formats.

Usage

First install the library with:

go get xojoc.pw/logparse

logparse is simple to use. First parse a string with either logparse.Common or logparse.Combined and then access the field of logparse.Entry for the required information. Examples:

see godoc for the complete documentation.

Log formats

Right now logparse can parse the common and combined log formats. Support is under way for the extended log format.

Who?

logparse was written by Alexandru Cojocaru.

License

logparse is released under the GPLv3 or later, see COPYING.

Get the code

See all the discussions around the web about this page.