8000 GitHub - ymedaghri/python-log-analysis-udacity: Log Analysis Project at Udacity · GitHub
[go: up one dir, main page]

Skip to content

About

Log Analysis Project at Udacity

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

5 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Udacity LogAnalysis Project

Project Description

Python command line reporting tool that displays 3 successive set of reports.

  1. What are the most popular three articles of all time?
  2. Who are the most popular article authors of all time?
  3. On which days did more than 1% of requests lead to errors?

Screenshot

Basic Setup

  1. Create two views in the 'news database' (views)
  2. Run the program using the command line python news.py
  3. Tadaaaaa

Views Creation

create view log_errors as select  date_trunc('day',time) as time, count(*) as requests from log  where status!='200 OK' group by 1;
create view log_success as select  date_trunc('day',time) as time, count(*) as requests from log  where status='200 OK' group by 1;

Questions

Having a problem getting something to work or want to know more ? Ping me on Twitter @ymedaghri or file a GitHub Issue.

About

Log Analysis Project at Udacity

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages

0