aggregate - Aggregation of data over time.
Records to aggregate over time.
Records with aggregated data.
Aggregates records over time, i.e. takes record sets and determines aggregated values (sum, count, min, max, average) during predefined time periods.
You would like to determine how many times a given host has been requested on your web site and the average response time for a request.
This can be achieved by following these steps:
Make sure your Aggregate tool receives an input containing the fields host and time_taken.
Select host in the Keys field, time_taken in the Avg field and make sure the Include count box is checked.
Specify how many seconds you wish to aggregate your data over in the Duration in sec field.
Save the output of the Aggregate tool in a database table.
When you analyze the database table containing the output of the Aggregate tool, you can see numbers indicating the average response time and number of requests over a time interval.
The data could look something like this:
| timestamp | 2003-07-15 10:22:24 |
| host | www.my_site.com |
| avg_time_taken | 0.0015587 |
| count | 348 |
This has the following interpretation: The host www.my_site.com has been requested 348 times during the defined time interval and the average response time was 0.0015587 seconds.
Time period in seconds to aggregate over.
Fields to be used as keys during the aggregation. The more fields selected here, the higher the CPU load on this tool will be.
Fields, which will get average values assigned.
Fields, which will get maximum integer values assigned.
Fields, which will get minimum integer values assigned.
Fields, which will get summarized integer values assigned.
Number of entries.