Custom reports enable you to drill down into specific API metrics and view the exact data that you want to see. You can create a custom report by using any of the metrics and dimensions built into Apigee.
There are two types of custom reports:
See Real-time reports versus report jobs.
If you are an Apigee Subscription customer, access to Apigee API Analytics and the custom report functionality is included in your subscription entitlements and automatically enabled for each of your Apigee environments.
If you are a Pay-as-you-go customer, you must enable Apigee API Analytics as a paid add-on to access analytics and generate custom reports. For more information on enabling the Apigee API Analytics add-on for your Intermediate or Comprehensive Apigee environments, see Manage the Apigee API Analytics add-on.
If you are unsure whether you are using a Subscription or Pay-as-you-go Apigee organization, contact your Apigee organization administrator.
When building a custom report, you'll select the data you want to see (metrics), group the data in meaningful ways (dimensions), and optionally limit the data returned based on specific characteristics (filters) of the data.
You can also set the chart type displayed in the custom report as a column or line chart. The following images show chart examples for the transactions per second metric grouped by the API proxy dimension:
Column - each API proxy is represented by a different column:
Line - each API is represented by a different line:
In addition to the standard metrics and dimensions, you can also create custom reports for custom data you collect using the DataCapture policy. See Collecting custom data with the DataCapture policy.
Some metrics let you set an aggregation function to run against the metric. For example, you can use the following aggregation functions with the response time metric:
avg
: Returns the average response time.min
: Returns the minimum response time.max
: Returns the maximum response time.sum
: Returns the sum of all response times.Not all metrics support all aggregation functions. The documentation on metrics contains a table that specifies the metric name and the function (sum
, avg
, min
, max
) supported by the metric.
The dimension specifies how to group the metrics data. For example, you want to create a custom report showing the response time metric. You can use dimensions to group the metrics data by API product, API proxy, or developer email (which can also be the AppGroup Id) to obtain:
The way the dimension is displayed in the chart of the custom report depends on the chart type:
A filter lets you limit the metrics data displayed in the custom report by setting specific characteristics on the metrics data to return. For example, you can create a filter so that you see metrics data only for a response time greater than a specific value or only for an API proxy with a specific name.
You can build complex filters using conditional syntax and operators such as eq
, ne
, gt
, lt
, and more.
In the simplest type of custom report, you specify a single metric and a single dimension. For example, you define a custom report with the following settings:
The custom report contains a column chart with the "Average transactions per second" metric data grouped by the API proxy dimension:
You can add multiple metrics to a custom report. For example, you define a custom report with two metrics:
The custom report contains a separate chart for each metric:
You can add multiple dimensions to a custom report. For example, you define a custom report with the following settings that includes two metrics and two dimensions:
Apigee Analytics lets you run a real-time report or a report job.
For real-time reports, you request the report and it is displayed as soon as the analytics server provides a response. However, because a report might need to process a large amount of data (for example, 100's of GB), a real-time report might fail because of a time out.
A real-time report can have a maximum time range of 92 days. If you select a time range greater than this, the report is run as a report job.
See Run a custom report.
For a report job, you request the report and retrieve the results at a later time. Some situations when a report job might be a good alternative include:
You can also run a report job using the API, as described in Using the asynchronous custom reports API. See View a report job.
To open the Custom Reports page:
This displays the Custom Reports page:
The Custom Reports page has two tabs:
See Real-time reports versus report jobs.
Both tabs display a list of the reports or report jobs that have already been created. To view a report or report job, click the name of the report. See Run a report for an example.
The Reports tab displays the following information about each report:
The Report Jobs tab displays the following information about each report job:
The Custom Reports page enables you to:
This section explains how to create a custom report.
In the Custom Reports page, you can create either a real-time report or a report job. To do so:
After Chart Type, select the style of chart to present your data:
Note: The maximum date range for a report job is 365 days. For reports requiring date ranges precise to the second, use the Custom Reports API to create the report job. The API accepts date range inputs that include seconds.
Note: In addition to the standard metrics and dimensions, you can also select metrics or dimensions corresponding to custom data collected with the DataCapture policy.
In the Filter section, you can further narrow the data displayed by adding filters to your report definition. For example, you could add a filter that excludes data for the weather API proxy or developer jane@example.com.
First, click Add a Filter to open the New Filter section.
To run a real-time report:
When the report is ready, it is displayed:
The report displays a chart of the data and a summary table.
In the report page, you can select the following options for the report:
You can also choose the following options at the top of the report page:
See View a report job for more information about report jobs.
To view a report job, select the Report Jobs tab at the top of the Custom Reports page.
The Report Jobs tab is displayed:
The Report Jobs page enables you to:
View all report jobs that have been submitted in the last 7 days.
Select the environment for which you want to display report jobs.
Search the list of custom reports by entering all or part of a relevant string in the search box; all displayed fields are searched for the string.
To view the custom report, make sure its Status is completed. Then click the report name to view the report.
To edit a custom report:
To delete a custom report:
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-04-24 UTC.