Group By conditions
After selecting the Metrics to analyze from the Analyze drop-down list, to deepen the analysis, use the Group by option with the appropriate value set.
Group by has the following options in the drop-down list:
- SERVER
- PRODUCT
- PROJECT
- RESOURCE
- CLIENT
- CLIENT SUBSCRIPTION
- CLIENT_IP
- CLIENT_HOST
- CLIENT_COUNTRY
- CLIENT_STATE
- CLIENT_CITY
- PROJECT_VERSION
- CONSUMER_KEY
- PATH
- PROXY_REQUEST_VERB
- TARGET_REQUEST_VERB
- PROXY_RESPONSE_CODE
- TARGET_RESPONSE_CODE
- TARGET_URL
- USER_DEFINED_DIMENSION
- MONETIZATION_ENABLED
- MONETIZATION_SUCCESS
- API_APPLICATION_RATEPLAN_ID
Click the Add button to choose a Group by option and provide the appropriate value under the Advanced Search section.
Figure 1: Analytics page with 'group by' drop-down list expanded
Setting a value
After selecting a Group by option, the value property helps to choose the value for the selected option that needs to be grouped. For example, if grouped by 'Server', it is possible to narrow down to a particular server to analyze the data related to that server.
Further Conditions
After setting a Group by condition, more criteria may be set using the Advanced Search option. More conditions may be added to further narrow down the criteria.
In the above figure, the statement reads as "Analyze TRAFFIC where SERVER is APIGATEWAY1 and PROJECT is rest_api".
Filter using more options to build elaborate conditional criteria depending on the depth of analysis.