Reporting

Reporting can be broken down into two types of reports: graphical and tabular. Graphical reports leverage portals and export the visualizations and data to either a PDF document or a PNG image. Tabular reports extract the data from the first grid within the selected portal and export this information to a PDF, CSV, HTML, XLS, or XLSX document.

This section of the product guide will walk you through how to generate both types of graphical reports as well as an example of a tabular report.

Dependencies

Setting Up Reports

If the dependencies are satisfied, then setting up a new report consists of the following two steps:

  1. Create a new Report Profile.

  2. Create a new Report.

Creating a Report Profile

Before generating either a graphical or tabular report, a Report Profile must be created. Navigate to Profiles.

Configuration -> Reports -> Profiles

After you click the Add button, the following fields will be presented to you.

Common Fields

This section describes the Report Profile fields common to both graphical and tabular reports.

Report Format - Report Format indicates the file type of the report. A graphical report may be generated by selecting either PNG or PDF. Additional details are provided within the PNG and PDF sections of this guide.

Graphical Specific Fields

This section briefly describes the Report Profile fields specific to graphical reports.

Tabular Specific Fields

This section briefly describes the Report Profile fields specific to tabular reports.

Creating a Report

After creating a Report Profile, we may create a Report. Navigate to the Reports UI.

Configuration -> Reports -> Reports

After you click Add, the following form will be presented to you.

Creating a Report Directly from Portals

For added convenience, reports may be created directly from the portal configuration UI, provided a Report Profile has already been created. To access via the navigation pane, go to Configuration -> Portals -> Portals.

Now, select a portal for which a report should be generated. Once the portal has loaded, go to the wrench icon located to the right side of the browser window and select the Save Report option, as indicated in the first image below.

Next, a form identical to the one detailed in the previous section will be presented. Fill out the form, shown in the second image below, and submit it. Descriptions of the fields are provided in the previous section.

Examples

This section provides a handful of examples to elucidate how to generate a report in the most common scenarios.

Graphical

Graphical reports leverage the versatility of Unified Assurance portals by capturing the images and data of the portal and storing the information in either a PNG or PDF file. Reports may optionally be archived and/or emailed to a list of recipients.

Tabular

Tabular reports export the data held in the first grid of a portal to CSV, PDF, HTML, or Excel (xls or xlsx).

FAQs

This section answers the most commonly asked questions regarding reporting.

How do I manually generate a report?

My report has an grid with multiple pages of rows. How do I get my report to paginate through them?

A report can only display a single grid of results, so in order to display all rows in the grid, the number of rows displayed must be customized to display everything in one page. The report will automatically add additional pages based on the result set.

I want my report to have X number of rows. How do I change the rows displayed in a page?

Add or modify the report user's MaxPageSize (requires logout and login). The value can now be selected when creating report portals

Why does my report have Loading instead of data?

The reporting engine RenderTimeout was reached before it finished rendering. Modify the report profile RenderTimeout field to allow the virtual browser additional time to render the data. In some cases, a render timeout of 60 seconds (or higher) may be necessary to properly generate the report depending on the data set.

My report portal loads fine, but my report shows an error instead of data.

The API request timed out before it finished retrieving data, this is especially common if the report contains a large data set or large pagesize configured. Modify the report user's or report user group's UILoadTimeout preference (requires logout and login) to allow the API time to retrieve the data. In some cases, a render timeout of 60 seconds (or higher) may be necessary to properly generate the report depending on the data set size.

Why do I see blocks instead of text in my report?

This is due to a missing library. See FAQ "How do I install fontconfig and urw-fonts?".

How do I install fontconfig and urw-fonts?