Log format parser in golang
Switch branches/tags
Nothing to show
Clone or download
Alexandru Cojocaru
Alexandru Cojocaru s
Latest commit 2d91b34 Jul 23, 2015
Type Name Latest commit message Commit time
Failed to load latest commit information.
COPYING s Feb 23, 2015
README.md s Jul 23, 2015
lex.go s Feb 23, 2015
log.go s Jun 25, 2015
log_test.go s Jun 25, 2015


Log format parser

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


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.


logparse was written by Alexandru cojocaru (http://xojoc.pw).


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