Predefined Time Period
As you always look forward to generate data for a particular range of time, API Management has provided with some predefined options of Time Period, which are:
- Last Hour
- Last 24 Hours
- Last Week
- Last Month
- Date Range
The first four options are fixed time options that give data selection as their respective names suggest, whereas the last option is a user-defined time option where you can pick the desired time period by choosing the start and end date.
Figure 1: Time Period and Data Aggregation (refer the below section) options in the Analytics page
Data Aggregation
Depending on the time period selected, a Data Aggregation option is also available (refer the figure above) to group the data to further narrow down the data analysis:
- By Minute (this option is available for only Last Hour and Date Range time periods)
- By Hour (this option is not available for the Last Hour and Last Month time periods)
- By Day (this option is not available for Last Hour and Last 24 Hours time periods)
By Week (this option is only available for Last Month and Date Range time periods)
Below is Line chart for a specific date range selected grouped for the By Week date aggregation.
Figure 2: Analytics section with the Date Range time period and Per Week data aggregation selected