Last active
August 29, 2015 14:13
-
-
Save nzbart/8810a4df8f2e4143fd22 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
iislog <- read.delim("Filtered.log", header=TRUE, sep=" ") | |
iislog <- within(v, { localdatetime=as.POSIXct(paste(date, time)) + 13*60*60 }) | |
h <- hist( | |
iislog$localdatetime, | |
freq = TRUE, | |
breaks=24, | |
xlab = "Time of day", | |
ylab = "Requests per hour", | |
axes = F, | |
main="Distribution of traffic throughout day (requests / hour)" | |
) | |
box() | |
axis.POSIXct( | |
1, | |
at = seq(as.POSIXct("2014-12-29 00:00:00"), as.POSIXct("2014-12-29 23:59:59"), by = "1 hour"), | |
format = "%H") | |
axis(2) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment