- Web Dashboard
- Filter By Range Date
- Total Request
- RPS (Request Per Second)
- RPM (Request Per Minute)
- Request URI/URL
- Slow Response Time
- Auto Generate CSV file
- User Agent, HTTP Response Code , more ...
-
Default Regex =
^(\S+) - \[([^\]]+)\] "(\S+) (\S+) (\S+)" (\d+) (\d+) - "([^"]+)" - (\d+\.\d+)$
-
Nginx Log =
119.235.212.226 - [18/Feb/2024:21:52:16 +0700] "GET / HTTP/2.0" 200 1644 - "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/121.0.0.0 Safari/537.36 Edg/121.0.0.0" - 0.058
-
Nginx Server Config =
log_format custom '$remote_addr - [$time_local] "$request" $status $body_bytes_sent - "$http_user_agent" - $upstream_response_time';
You can custom for your specific nginx log format
- Put
nginx.log
file in same directory main.go - You Must edit Specific Range Date & Path File Nginx Log in
main.go
file - Running file
main.go
with commandgo run main.go
- Open Web
http://localhost:8080