Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PythonServerLogParser

Practising server logs parsing

The script takes either a filename or directory as and argument of the "main" function. The script is able to analyze the given file or all .log files in the given directory and print out the following stats: Total count of the requests made Requests count corresponding to HTTP methods: GET, POST, PUT, DELETE, OPTIONS, HEAD. Например, GET - 20, POST - 10 etc top 3 IP addressess that made the most of the requests топ 3 longest requests

Those stats are also saved in the .json file that has a timestamp as a filename.

About

Practising server logs parsing

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages