Nicholas Hope Science Fair 2023 https://nickhope.world/
You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
Nicholas Hope cfafa327d3 more sensible name 8 months ago
cdk more sensible name 8 months ago
logs deleted 8 months ago
.gitignore ignore binary files 9 months ago
LICENSE added 9 months ago
README.md readme 8 months ago
analysis.csv new and improved with more data 9 months ago
analyze.py logs lat and lon 9 months ago
cached_ips.pkl pickle file 8 months ago
fetch-logs.sh where files are downloaded to, to avoid annoying directory structure 9 months ago
init.sh Added nick's ssh key 9 months ago
make-requests.py simple python script to make a few requests to a vm 9 months ago

README.md

Nicholas Hope Science Fair 2023 Code and Logs

This is the repo for my (Nicholas Hope) code that analyzes log files from various servers across the world.

THE SCIENCE FAIR IS NOW OVER. THIS CODE IS LEFT ONLY FOR THE PURPOSE OF EXAMINATION.

 

Contents

There are three main components:

  1. fetch-logs.sh, which would retrieve log files from the servers when they were running. It is now not functional, as those servers are not availible anymore.
  2. analyze.py, a Python script to analyze the data and produce a CSV.
  3. logs/, the directory containing all of the log files.

 

Instructions

  1. Clone the repository
  2. For each directory, unpack all access.log.*.gz
  3. Run the python script analyze.py, providing the log directory as the first and only argument.
  4. It will make a new file, analysis.csv containing the analysis. Do with this data what you please.