Categorygithub.com/Songmu/axslogparser
modulepackage
1.4.0
Repository: https://github.com/songmu/axslogparser.git
Documentation: pkg.go.dev

# README

axslogparser

Build Status Coverage Status MIT License GoDoc

Description

An accesslog parser supports apache log (common and combined) and ltsv accesslog (http://ltsv.org).

Supported Formats

  • Apache Logs (also cared in the case of using tab character as delimiter)
    • Common log format
    • Common log format with vhost
    • Combined log format
    • Combined log format with extra fields
  • LTSV Accesslog format according to http://ltsv.org

Author

Songmu

# Functions

GuessParser guesses the parser from line, uses default parsers for each format.
Parse log line using default parsers.

# Structs

Apache log parser.
Log is the struct stored parsed result of single line of accesslog.
LTSV access log parser.
Parsers represents a set of available parsers.

# Interfaces

Parser is the interface for accesslog.