Skip to content

A reporting tool that prints out reports based on data from a web server's database.

Notifications You must be signed in to change notification settings

sstylianides/Logs_Analysis

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 

Repository files navigation

Logs_Analysis

A reporting tool that prints out reports based on data from a web server's database.

About

The reporting tool built with Python and SQL that uses a newspaper website's raw data. The data contains articles, the author of articles, and entries for each time a user accessed the website. The purpose of this reporting tool is to determine the most popular three articles of all time, the most popular article authors of all time, and the days on which more than 1% of requests lead to errors.

Instructions

  1. Install Vagrant and VirtualBox.
  2. Clone this repository using git or download a zip of the repository.
  3. Start the virtual machine
  4. Launch Vagrant VM by running 'vagrant up', then log in with 'vagrant ssh'
  5. Download the data. Unzip the file after downloading it. The file inside is called newsdata.sql
  6. Place the file into the vagrant directory
  7. Setup database with the following command:
psql -d news -f newsdata.sql;
  1. Run Module
python logs_analysis.py

About

A reporting tool that prints out reports based on data from a web server's database.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages