Giter Club home page Giter Club logo

apachelogs's Introduction

apachelogs

Go package for parsing Apache logs.

Change Log

Version 3.0.0

STABLE!

This is now a stable release. Unfortunately it's also quite a rewrite to made the code more idiomatic Go. A lot of that is in the form of variables and constants being renamed - which will break compatibility. I have also changed the naming of the AccessLog / AccessLogs (for slices) to be more meaningful: AccessLine is a single entity, AccessLog is a slice of AccessLine's (ie []AccessLine).

New in version 3:

Support for error logs. Currently untested but the API follows the same format as for access log parsing so I cannot envisage any breaking changes as that code matures.

Usage:

In time, more useful guides will be included in this readme. However for now see Godocs[1] for code documentation and Firesword[2] for a working implementation.

[1] https://godoc.org/github.com/lmorg/apachelogs [2] https://github.com/lmorg/firesword

apachelogs's People

Contributors

lmorg avatar

Stargazers

Josef Unger avatar Chris Hart avatar

Watchers

James Cloos avatar  avatar  avatar

apachelogs's Issues

Coyp & paste mistakes

/src/github.com/lmorg/apachelogs/accesslogs.go:169:10: identical expressions on the left and right side of the '<' operator
/src/github.com/lmorg/apachelogs/accesslogs.go:172:10: identical expressions on the left and right side of the '<' operator
/src/github.com/lmorg/apachelogs/accesslogs.go:178:10: identical expressions on the left and right side of the '<' operator
/src/github.com/lmorg/apachelogs/accesslogs.go:181:10: identical expressions on the left and right side of the '<' operator
/src/github.com/lmorg/apachelogs/accesslogs.go:184:10: identical expressions on the left and right side of the '<' operator
/src/github.com/lmorg/apachelogs/accesslogs.go:187:10: identical expressions on the left and right side of the '<' operator
/src/github.com/lmorg/apachelogs/accesslogs.go:190:10: identical expressions on the left and right side of the '<' operator
/src/github.com/lmorg/apachelogs/accesslogs.go:193:10: identical expressions on the left and right side of the '<' operator
/src/github.com/lmorg/apachelogs/accesslogs.go:196:10: identical expressions on the left and right side of the '<' operator
/src/github.com/lmorg/apachelogs/accesslogs.go:199:10: identical expressions on the left and right side of the '<' operator
/src/github.com/lmorg/apachelogs/accesslogs.go:202:10: identical expressions on the left and right side of the '<' operator
/src/github.com/lmorg/apachelogs/accesslogs.go:205:10: identical expressions on the left and right side of the '<' operator

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.