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: about 2 months ago
JSON representation
A web server log parser / analyzer written in Go
- Host: GitHub
- URL: https://github.com/christarazi/golp
- Owner: christarazi
- License: gpl-3.0
- Created: 2018-04-08T22:05:08.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2018-08-07T21:48:48.000Z (almost 8 years ago)
- Last Synced: 2025-05-08T22:59:29.965Z (about 1 year ago)
- Topics: access-logs, analyzer, go, golang, log, nginx, parser
- Language: Go
- Size: 37.1 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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.