Skip to content

anyatran/http

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

python3 main.py -f logs/access.log -g logs/access.log

  1. read lines
  2. statistics to show:
  • Every 10s, display in the console the sections of the web site with the most hits
  • restponse status count
  • location by timezone
  • users loged in
  • Whenever total traffic for the past 2 minutes exceeds a certain number on average, add a message saying that “High traffic generated an alert - hits = {value}, triggered at {time}”
  • Whenever the total traffic drops again below that value on average for the past 2 minutes, add another message detailing when the alert recovered
  • Make sure all messages showing when alerting thresholds are crossed remain visible on the page for historical reasons.
  • users/ip who are most active
  • errors in the past time

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages