Skip to content

Parse apache/nginx access logs and report total requests and requests per second

Notifications You must be signed in to change notification settings

PeterHickman/StarGraph

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 

Repository files navigation

#StarGraph

A simple tool to parse Apache/ nginx access logs and report the total number of requests in an hour and the number of requests per second.

#Two versions

The Ruby version is there if you want to hack something together quickly. The C++ version is if you need the speed.

#Example report

$ star_graph access_log 
2013-02-17 04:--:-- [   3955] (   1.10) *
2013-02-17 05:--:-- [   4154] (   1.15) *
2013-02-17 06:--:-- [   5452] (   1.51) **
2013-02-17 07:--:-- [   3766] (   1.05) *
2013-02-17 08:--:-- [   4360] (   1.21) *
2013-02-17 09:--:-- [  25931] (   7.20) ***********
2013-02-17 10:--:-- [   7457] (   2.07) ***
2013-02-17 11:--:-- [   5527] (   1.54) **
2013-02-17 12:--:-- [   6338] (   1.76) **
2013-02-17 13:--:-- [   5969] (   1.66) **
2013-02-17 14:--:-- [   6407] (   1.78) **
2013-02-17 15:--:-- [ 131621] (  36.56) **********************************************************
2013-02-17 16:--:-- [  30202] (   8.39) *************
2013-02-17 17:--:-- [   6556] (   1.82) **
2013-02-17 18:--:-- [   6278] (   1.74) **
2013-02-17 19:--:-- [   4844] (   1.35) **
2013-02-17 20:--:-- [   5788] (   1.61) **
2013-02-17 21:--:-- [   5920] (   1.64) **
2013-02-17 22:--:-- [   5209] (   1.45) **
2013-02-17 23:--:-- [  19171] (   5.33) ********
2013-02-18 00:--:-- [  16651] (   4.63) *******

About

Parse apache/nginx access logs and report total requests and requests per second

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published