Create a Report

📊 Reports Overview

GermainUX reports can run automatically on a schedule or as actions triggered by events such as SLA breaches.

Creating a report involves three main steps:

Step

Define the report and its execution method.

Add one or more data queries.

Configure the report template.

📃 Create a Report

  1. Go to GermainUX Workspace > Automation > Report.

  2. Click + to open the Report wizard.

  3. Configure the report details.

  4. Choose whether the report runs on a schedule or as a triggered action.

  5. Click Finish.

  6. When prompted, click the provided link to add queries to the report.

    Screenshot 2024-10-01 130503.png

⚙️ Report Settings

Field

Description

Name

Unique name for the report.

Distribution List

Users or groups that will receive the report.

Report Template

Template used to generate the report content. Select an existing template or create a new one.

Attach Result

Attaches the report’s raw query results when enabled.

Run on Schedule

Enables automatic report generation according to the configured schedule.

📅 Schedule the Report

Enable Run on Schedule, and then configure the desired execution frequency and time.

For example, configure the schedule to generate and distribute the report every day at .

Screenshot 2024-10-01 131536.png

⚡ Trigger the Report as an Action

To generate the report in response to an event:

  1. Disable Run on Schedule.

  2. Complete and save the report.

  3. Add the report as an action to an SLA or another configuration that supports actions.

The report will then be generated whenever the associated condition occurs.

🔎 Add Queries to a Report

A report can contain one or more queries. Their results can be combined and presented through the report template.

You can access the Query Editor in either of these ways:

Option

Instructions

New report

Follow the query-configuration link displayed after completing the Report wizard.

Existing report

Go to Automation > Report, select the report, and open one of its queries.

📋 Choose a Query Type

Click + next to the template name, and then select a query type.

Query type

Description

Simple Query

The easiest way to query the GermainUX datastore. No SQL knowledge is required. Supports relational and Elasticsearch datastores.

SQL Query

Runs a custom SQL query against a relational database.

Scripted Query

Uses JavaScript and GermainUX Java services and data-model classes for complex reporting logic. Supports the GermainUX Datamart with relational or Elasticsearch storage.

Screenshot 2024-10-01 141026.png

📄 Scripted Query

Use a Scripted Query when the report requires multiple queries, custom processing, or advanced logic.

  1. Select the query time range. Leave it blank if the script will define the interval programmatically.

  2. Write the JavaScript used to query the GermainUX Datamart.

  3. Use autocomplete to discover available functions and variables.

  4. Use the Fact Model glossary to identify the fields available for each data model.

  5. Click Refresh Preview to validate the results.

  6. Click Save when the query produces the expected output.

For example, a Scripted Query could return the timestamp and browser associated with every user session recorded during the previous seven days.

Screenshot 2024-10-01 153028.png

✨ Simple Query

Use a Simple Query to build a report without writing SQL or JavaScript.

  1. Complete the required fields.

  2. Add any necessary filters or constraints.

  3. Click Refresh Preview to display the results in a table.

  4. Review the results and click Save.

For example, a Simple Query can count user sessions and group them by browser, such as Chrome, Firefox, or Edge.

Screenshot 2024-10-01 142400.png

🗄️ SQL Query

Use an SQL Query when the report must retrieve data directly from a relational database.

  1. Select the target data source.

  2. Enter the SQL query.

  3. Click Refresh Preview to validate the results.

  4. Click Save.

Ensure that custom queries follow your organization’s database access, performance, and data-security policies.

🗑️ Remove a Query

To remove a query:

  1. Click the Close icon on its query tab.

  2. Confirm the removal.

    Screenshot 2024-10-01 154230.png

📁 Configure the Report Template

After configuring and saving the report queries, click the template button in the action panel to define how the results will be presented.

Screenshot 2024-10-01 153726.png

The template controls the report’s content, structure, formatting, and links. For configuration instructions, see Template Editor for Alerts and Reports.

Feature Availability: