Created
August 22, 2014 14:22
-
-
Save codingjester/483685c30f547dfac5a3 to your computer and use it in GitHub Desktop.
Awk one-liner for grabbing haproxy requests (using httplog) longer than 1 second.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# You can change 1000 to whatever you want | |
awk '{n=split($8, b,"/"); if(b[n] >= 1000) print}' your_haproxy_log.log |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment