Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/christarazi/golp

A web server log parser / analyzer written in Go
https://github.com/christarazi/golp

access-logs analyzer go golang log nginx parser

Last synced: 24 days ago
JSON representation

A web server log parser / analyzer written in Go

Awesome Lists containing this project

README

        

# golp
A web server log parser / analyzer written in Go for easier inspection of your
website's visitors.

### Usage

Simply download / clone the repo then run:

```shell
$ cd path/to/repo
$ go build && ./golp -file path/to/access.log

# ./golp -h for usage information
```

## TODO

- Allow for more log parser formats (only nginx logs are supported for now)
- ~~Add ability to convert timestamp into local time~~
- ~~Breakdown the "action" into: method, endpoint, user-agent, etc.~~
- ~~Show unmatched lines (--verbose option?)~~
- If resolving IP addresses, cache the response

## License

This program is free software, distributed under the terms of the [GNU] General
Public License as published by the Free Software Foundation, version 3 of the
License (or any later version). For more information, see the file LICENSE.