Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7987827
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 4, 20262026-06-04T12:15:33+00:00 2026-06-04T12:15:33+00:00

I have the server logs for a months worth of traffic. Partial example below

  • 0

I have the server logs for a months worth of traffic. Partial example below

"UploadDateGMT","UserFileSize","TotalBusinessUnits"
"2012-01-01 00:00:38","1223","1"
"2012-01-01 00:01:16","1302","1"
"2012-01-01 00:08:10","1302","1"

I would like to convert this into a data set where I have a count of how many bytes of submissions there were in each five minute window on a rolling basis. (i.e. 0-5, 1-6, 2-7, etc.) From this, I could extract maximum load, 95% load, make pretty graphs of load, etc.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-04T12:15:35+00:00Added an answer on June 4, 2026 at 12:15 pm

    To expand on @PLapointe’s answer:

    endp <- endpoints(tab2, on="mins", k=1) # 1 minute endpoints
    onemin <- period.apply(tab2,endp,sum)   # sum per 1-minute period
    onemin <- align.time(onemin)            # align to end-of-period times
    # all one-minute increments from start--end of onemin
    allonemin <- seq(start(onemin), end(onemin), by="1 min")
    onemin <- merge(onemin, xts(,allonemin))
    fivemin <-  rollapplyr(onemin, 5, sum, na.rm=TRUE, fill=NA)
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

We have several cron jobs that ftp proxy logs to a centralized server. These
I have three dimensional array of data that is generated from web server logs
I've been looking at some server logs using tail -f recently, and have thought
I have a 150MB txt file of server logs. Probably with PHP, I want
I have sixteen servers using Log4J logs, accessible by ssh. I want to see
I have a client-server Silverlight application, which is use Socets. I have server appliaction
My server have default php version of 4, so when I run some script
I have a server where I store data from Mac A and Mac B.
I have a Client/Server application, where the Client and Server have some common tables
We have a server application that we want to restrict non-users from triggerring it

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.