Last active
February 4, 2020 09:59
-
-
Save Dmitry-Kucher/a3d00a1eb26a0a891effd92cdceb9bcc to your computer and use it in GitHub Desktop.
AWK analyze nginx access.log to see how many requests made for specific path grouped by referer
This file contains hidden or 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
awk '($7 ~ /\/my\/awesome\/path/)' access.log | awk '{print $11}' | sort | uniq -c | sort -rn |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment