Skip to content

compulsions/webserver_accesslog_audit

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 

Repository files navigation

webserver_accesslog_audit

The script consists of 6 tasks:

Task 1. Top 10 requested urls sorted by hits
Output example:
"hits: uri:"
25 /url1
10 /url2
9 /url3
...

Task 2. Top 10 visitors by ip sorted by hits
Output example:
"hits: ip:"
100 1.1.1.1.1
50 2.2.2.2.2
10 3.3.3.3.3
...

Task 3. Total hits per month sorted by month
Output example:
Nov 2017 hits count - 12512
Dec 2017 hits count - 10087
Jan 2018 hits count - 12561
...

Task 4. Unique visits (by ip) per month
Output example:
Aug 2018 unique visits - 1500
Sep 2018 unique visits - 1356
Oct 2018 unique visits - 1689
...

Task 5. Top 10 ips per month
Output example:
Aug 2016
23322 1.1.1.1
359 2.2.2.2
354 3.3.3.3
251 4.4.4.4
239 5.5.5.5
234 6.6.6.6
227 7.7.7.7
210 8.8.8.8
196 9.9.9.9
189 1.2.3.4

Sep 2016
36512 1.1.1.1
512 2.2.2.2
571 3.3.3.3
...

Task 6. Hacking attempts, malicious activity, security scans etc.

About

Audit the access.log of a web server.

Resources

Stars

Watchers

Forks

Contributors

Languages