Get analytic data aggregated by 5 minutes

Not applicable

Is there anyway to get the analytic data of API Edge analytic aggregated by 5 minutes?

For example: management_server:8080/o/{{organization}}/e/{{env}}/stats/apis?select=sum(message_count)&timeUnit=minute&timeRange=10/1/2015+00:00:00~10/29/2015+00:00:00

Solved Solved
0 1 234
1 ACCEPTED SOLUTION

5 mins is not an aggregation interval that is supported by analytics. Minute, hour, day are the intervals that are supported. You can use the minute level results from analytics and then do your own aggregation outside if this is desired. You can also issue a series of queries for each 5 minute interval and combine the results.

View solution in original post

1 REPLY 1

5 mins is not an aggregation interval that is supported by analytics. Minute, hour, day are the intervals that are supported. You can use the minute level results from analytics and then do your own aggregation outside if this is desired. You can also issue a series of queries for each 5 minute interval and combine the results.