Creating and managing custom reports

This pageapplies toApigee andApigee hybrid.

View Apigee Edge documentation.

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 themetrics anddimensions built into Apigee.

There are two types of custom reports:

  • Real-time reports (also calledsynchronous reports): When you specify the report parameters in the Apigee UI, real-time reports are displayed in the Apigee UI within a couple of minutes.
  • Report jobs (also calledasynchronous reports): For custom report jobs you request the report and retrieve the results at a later time.

SeeReal-time reports versus report jobs.

Availability of custom reports

If you are an Apigee Subscription customer, access to Apigee API Analytics and the custom report functionality is included in yoursubscription entitlements and automatically enabled for each of your Apigee environments.

If you are aPay-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.

About custom reports

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:

    Custom column chart

  • Line - each API is represented by a different line:

    Custom line chart

Setting metrics and dimensions

Themetrics you choose for your custom report specify the data you are trying to measure. Common metrics include:
  • Transactions per second
  • Response time
  • Policy errors

In addition to the standard metrics and dimensions, you can also create custom reports for custom data you collect using the DataCapture policy. SeeCollecting custom data with the DataCapture policy.

Some metrics let you set anaggregation 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 onmetrics contains a table that specifies the metric name and the function (sum,avg,min,max) supported by the metric.

Thedimension 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 AppGroup:

  • The response time perAPI product
  • The response time perAPI proxy
  • The response time perAppGroup

The way the dimension is displayed in the chart of the custom report depends on the chart type:

  • Column: Each column corresponds to a different dimension value.
  • Line: Each line in the chart corresponds to a different dimension value, and the x-axis represents time.

Setting filters

Afilter 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 aseq,ne,gt,lt, and more.

Custom report examples

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:

  • type = Column
  • metric = Average transactions per second
  • dimension = API Proxy

The custom report contains a column chart with the "Average transactions per second" metric data grouped by the API proxy dimension:

Custom report tps

You can add multiple metrics to a custom report. For example, you define a custom report with two metrics:

  • type = Column
  • metric = Average transactions per second
  • metric = Policy Errors
  • dimension = API Proxy

The custom report contains a separate chart for each metric:

Custom report two metrics

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:

  • type = Column
  • metric = Average transactions per second
  • metric = Policy errors
  • dimension = API Proxy
  • dimension = Request verb

Real-time reports versus report jobs

Apigee Analytics lets you run areal-time report or areport job.

Open the Custom Reports page

In the Google Cloud console, go to theAnalytics> Custom reports page.

Go to Custom reports

Custom reports dashboard

The Custom Reports page has two tabs:

  • Reports: Displays real-time reports.
  • Report Jobs: Displays report jobs.

SeeReal-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. SeeRun a report for an example.

Reports

TheReports tab displays the following information about each report:

  • Display Name: The name of the report.
  • Dimensions: The dimensions included in the report.
  • Metrics: The metrics and aggregation functions (such assum) included in the report.
  • Last Modified: The last time and date when the report was run.

Report Jobs

TheReport Jobs tab displays the following information about each report job:

  • Report Name: The name of the report.
  • Start Time Range (UTC): The start time of the report job.
  • End Time Range (UTC): The end time of the report job.
  • Status: The status of the report job, which can berunning,completed, orexpired.
  • Submitted: The date and time when the report job was submitted.

The Custom Reports page enables you to:

Create a custom report

This section explains how to create a custom report.

Note: Free and trial accounts cannot create custom report jobs. For more information, seeApigee pricing plans.

In the Custom Reports page, you can create either a real-time report or a report job. To do so:

  1. Open theCustom Reports page.
  2. Click+ Create.
    • To create a real-time report, selectCustom Report.
    • To create a report job, selectCustom Report Job.
  3. In theBasic section, enter the following information:
    • Report Name: Name of the report.
    • For a real-time report only, you can also enter an optionalDescription of the report.
  4. The following sections depend on whether you are creating a real-time report of a report job:
    • For real-time reports only:

      AfterChart Type, select the style of chart to present your data:

      • Column: X-axis represents groups designated by dimensions.
      • Line: X-axis represents time.

    • For report jobs only:
      • Report Details: In theEnvironment field, select the environment in which you want to run the report. Note that for real-time reports, you can select the environment in the report page, after the report has run.
      • Report Date Range: Select theStart time andEnd time for the report.

        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.

  5. In theMetrics section:
    1. Select themetric that you want to analyze.
    2. Select anAggregate function to display the Sum, Average, Min, or Max values.
    3. ClickDone.

    Note: In addition to the standard metrics and dimensions, you can also select metrics or dimensions corresponding tocustom data collected with the DataCapture policy.

  6. In theDimensions field, select a dimension, such as "Proxy", to constrain the data set used to generate the reports. You can add additional dimensions to further constrain the data.
  7. In theFilter section, you can further narrow the data displayed by addingfilters 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, clickAdd a Filter to open theNew Filter section.

    1. Select the name of the entity you want to filter on, which can be a metric or a dimension.
    2. Select an operator such as = or !=, and a Value.
    3. Enter a value for the metric or dimension.
    4. ClickDone to add the filter.
  8. ClickSave to save the report.

Run a report

To run a real-time report:

  1. Open theCustom Reports page.
  2. In theReports tab, select the report to run.

When the report is ready, it is displayed:

Custom report displayed.

The report displays a chart of the data and a summary table.

Note: The report only displays one dimension at a time. If the report has multiple dimensions, you can select the dimension to display in theDimension field.

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:

Note: Custom ranges cannot exceed 92 days for real-time custom reports and 365 days for report jobs.

SeeView a report job for more information about report jobs.

View a report job

To view a report job, select theReport Jobs tab at the top of the Custom Reports page.

TheReport Jobs tab is displayed:

Report jobs

The Report Jobs page enables you to:

To view the custom report, make sure itsStatus is completed. Then click the report name to view the report.

Note:

You cannot view a report job that:

  • Is still running.
  • Exceeds the maximum view size of 2MB.

Edit a custom report

To edit a custom report:

  1. Open theCustom Reports page.
  2. Click the three-dot menu underActions.
  3. SelectEdit. This opens theEdit custom report dialog, where you can edit the options for the report. The options are described inCreate a custom report.
  4. ClickUpdate to save your changes.

Delete a custom report

To delete a custom report:

  1. Open theCustom Reports page.
  2. Click the three-dot menu underActions.
  3. ClickDelete to delete the report.

Except as otherwise noted, the content of this page is licensed under theCreative Commons Attribution 4.0 License, and code samples are licensed under theApache 2.0 License. For details, see theGoogle Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2025-12-15 UTC.