Filter Analytics

You can filter the analytics data to display only information for a certain date range or for specific objects, such as APIs, gateways, applications, services, plans and methods.

To filter analytics data:
  • Navigate to the Analytics page for your API or Gateway.
  • Filter by date and time:
    1. Expand the Date and Time list
    2. Click the Range list and select Today, Last 24 Hours, Current Year, Current or Last. If you choose Current or Last, select a specific interval from the list.
      Note: If you choose the Custom option from the Range list, use the Begin Date/Time and End Date/Time fields to specify the exact dates and times desired.
    3. Click the clock symbol to the right of the Begin Date/Time and End Date/Time fields to specify the equivalent local time instead of the server time.
  • Filter by Objects:
    • Gateways: (For API analytics only) Click the Gateways field to display a list of all available gateways. Select gateways on which an API is deployed to display data for only these gateways. If nothing is entered in this field, data for all gateways appears. If you are not issued appropriate grants to view gateways the API is deployed to, or if the API is not deployed to a gateway, you are unable to filter by gateway and the text No Gateways Available is displayed.

    • Applications: Click the Applications field and select applications registered to an API to display data for only these applications. Requests received without application keys (which is how requests from applications are identified) are also collected; you can view data for all of these requests by selecting Unknown Applications from this list. If nothing is entered in this field, data for all applications, including unknown applications, appears. If there are no applications registered to the API, the text No Applications Available is displayed.

    • Services: (For API analytics only)Click the Services field and select services for the API to display data for only these services. If nothing is entered in this field, data for all services appears. If the API does not use any services, the text No Services Available is displayed.

    • Plans: (For API analytics only)Click the Plans field and select plans that are entitled to the API to display data for only these plans. If nothing is entered in this field, data for all plans is displayed. If the API is not entitled to any plans, the text No Plans Available is displayed.

    • APIs: (For Gateway analytics only) Click the APIs field and select APIs deployed to a gateway to display data for only these APIs. If nothing is entered in this field, data for all APIs appears. If you are not issued appropriate grants to view APIs deployed to the gateway, or if there are no APIs deployed to your gateways, you are unable to filter by API and the text No APIs Available is displayed.

  • Filter by Method:

    By default, the method filter is populated with the standard REST methods (CONNECT, DELETE, GET, HEAD, OPTIONS, PATCH, POST, PUT, TRACE). You can enter any other non-standard HTTP verbs that you want to count. If you want to remove any method from the count, you can click the x to remove it. For example, to eliminate OPTIONS requests from the analytics counts, remove it from the filter. Removing all methods results in no filtering, and all methods are counted.