21 lines
1.3 KiB
Markdown
21 lines
1.3 KiB
Markdown
LumberJack TUI takes in an Apache2 access log file and provides an interactive interface to check your logs.
|
|
|
|
MacOS Users:
|
|
- Unfortunately, I don't want to have to setup my pc to build your executable for you. So, the CMakeLists.txt file will autobuild an executable for you :)
|
|
|
|
All Other Users:
|
|
- I have packaged executables into the released .zip files
|
|
|
|
NOTES:
|
|
- The TUI will ask for the access.log file location and the GeoLite2-City.mmdb file location on startup. It will then create local lumberjack.config file with the locations you provided. If you mess up, just change them in the lumberjack.config for now.
|
|
* I have not tried using the GeoLite2-Country.mmdb file and do not know if it will crash the application...
|
|
- Log line format example:
|
|
172.71.245.109 - - [23/Jan/2016:09:49:24 +0100] "GET /favicon.ico HTTP/1.1" 301 642 "-" "Mozilla/5.0 (Linux; Android 10; arm64) AppleWebKit/537.36 (KHTML, like Gecko) Safari/15.0.0.0 Safari/537.36"
|
|
* This is the only format I have setup for the regex so far. It works on both my Apache2 and Gitea access logs but I do not know a whole lot about access log formats.
|
|
|
|
FUTURE CHANGES:
|
|
- Ban IP functionality
|
|
- Live .log file changing
|
|
- Refactor config.cpp to find .log files from a dierectory
|
|
- Add a function to unarchive, archived logs.
|