How to graph requests per second from web log file using R -


i'm trying graph request per second using our apache log files. i've massaged log down simple listing of timestamps, 1 entry per request.

04:02:28
04:02:28
04:02:28
04:02:29
...

i can't quite figure out how r recognize time , aggregate per second. help

it seems me since have time-stamps @ one-second granularity, need do frequency-count of time-stamps , plot frequencies in original time-order. timestamps array of time-stamps, do:

plot(c( table( timestamps ) ) ) 

i'm assuming want plot log-messages in each one-second interval on period. i'm assuming hms time-stamps within 1 day. note table function produces frequency-count of argument.


Comments

Popular posts from this blog

apache - Add omitted ? to URLs -

redirect - bbPress Forum - rewrite to wwww.mysite prohibits login -

php - How can I stop spam on my custom forum/blog? -