Advertisement
Futureen

Untitled

Feb 7th, 2025
42
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 0.56 KB | None | 0 0
  1. echo -e "\n============= TOP REQUESTS BY IP =============\n"; cat $(find /usr/local/apache/domlogs/ -type f ! -name "*bytes_log") | cut -d' ' -f1 | sort | uniq -c | sort -rn | head -10; echo -e "\n============= TOP REQUESTS BY URI =============\n"; cat $(find /usr/local/apache/domlogs/ -type f ! -name "*bytes_log") | cut -d' ' -f7 | sort | uniq -c | sort -rn | head -10; echo -e "\n============= TOP REQUESTS BY USER-AGENTS =============\n"; cat $(find /usr/local/apache/domlogs/ -type f ! -name "*bytes_log") | cut -d' ' -f12-25 | sort | uniq -c | sort -rn | head -10
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement