I need help with sorting a log file looking like the following:
IP - User [16/Jan/2020:09:40:11 +0100] “GET URL HTTP/1.1” 200 1276 “-” “Mozilla/5.0 (Windows NT 10.0; WOW64; rv:68.0) Gecko/20100101 Firefox/68.0” 2540
I want to see the n slowest requests from the last x minutes.
How can I do that?
I’m rather new to bash scripting and would appreciate any help.