Skip to content

xojoc/logparse

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 

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.

Releases

No releases published

Packages

No packages published

Languages