Docs > Configuration > Report Builder > Working with Reports
To access Report Builder, Navigate from the left navigation menu
Configure Observability > Report Builder
All Reports created by the admin will be listed under the Report Builder, This functionality allows you to generate reports; for instance, generating a Long term data storage report is accessible via the report builder.
The following fields will be displayed.
In addition, there are other options available at the top of the table.
To create a report:
Creating a Report consists of two steps and an optional step:
Step 2: Manage Report Contents
Step 3: Schedule to Generate and Distribute
Enter the following details and click on the next tab
This section has 3 tabs to select the source of the Report. The following are the sources:
💡Note: Only one source can be chosen at a time for generating reports.
Now, let’s generate the reports using each of these sources.
💡Note: You can select up to 3 dashboards at once for generating reports. To replace a selected dashboard, click delete, and then proceed with your desired selections.
Time Filter
From the Time Filter option, set the exact time range for the reports you want to generate.
Additionally, you can download the instant reports. Just click the Download button to get the report.
When you click Download, the report will be downloaded directly to your local system from the user interface.
Now, let’s create the Reports using the Data Source.
Before selecting the data source, select the Database:
Following are the supported data sources:
Es contain:
PSQL contains:
ES Database
a) NoSQL Timelion Query
The user can provide the ES Timelion query in the ES Query.
Design the Report by choosing a column filter, this is used to select the column you would like to display on the generated report, corresponding change will be shown in the table. You can choose up to five filters.
Select the type of report as Table, Chart, or Both. In the case of a Chart, choose the chart type from Line Chart, Vertical Bar Chart, and Area Chart, along with specifying the field you want to represent on the X and Y axes, respectively.
💡Note: Only numerical values are available under the Y-axis.
On clicking Apply, a report preview will be displayed. This helps to get a view of the report before even scheduling the report.
b) NoSQL DSL Query
Similarly, you should provide the NoSQL Query along with the respective index for that query. Configure the report by choosing the column filter. Select the type of report as Table, Chart, or Both. In the case of a Chart, choose the chart type from Line Chart, Vertical Bar Chart, and Area Chart, along with specifying the field you want to represent on the X and Y axes, respectively. Click on Apply, and the report preview will be displayed.
You can refer to the annexure, for a sample Elasticsearch Queries
PSQL Database
a) Long-Term Storage SQL Query:
For the Long-Term Storage SQL Query, the user can provide the Long-term data store query. Configure the report by choosing the column filter. Select the type of report as Table, Chart, or Both. In the case of a Chart, choose the chart type from Line Chart, Vertical Bar Chart, and Area Chart, along with specifying the field you want to represent on the X and Y axes, respectively. Click on Apply, and the report preview will be displayed.
b) Internal Storage SQL Query:
For the Internal Storage SQL Query, the user can provide the MySQL query. Configure the report by choosing the column filter. Select the type of report as Table, Chart, or Both. In the case of a Chart, choose the chart type from Line Chart, Vertical Bar Chart, and Area Chart, along with specifying the field you want to represent on the X and Y axes, respectively. Click on Apply, and the report preview will be displayed.
You can refer to the annexure, for a sample Long-term storage Queries
HyperScale Database
Hyperscale database provide the provision of creating reports using data model query. For the HyperScale database select the data store as hyperscale, user can provide the SQL query. Configure the report by choosing the column filter. Select the type of report as Table, Chart, or Both. In the case of a Chart, choose the chart type from Line Chart, Vertical Bar Chart, and Area Chart, along with specifying the field you want to represent on the X and Y axes, respectively. Click on Apply, and the report preview will be displayed.
Data Summarization for Long term data storage
The user can generate a report based on the raw data, daily data, hourly data, and weekly data.
Users need to write queries with the raw table name irrespective of the time period. If the query has a time filter, the system will identify the table from which the data has to be fetched as per the time period.
Therefore, this is all about creating reports using a Data source. Now, let’s move on to creating Reports using the Data Model.
Select the required Data Model and Metric. Click on Submit to preview the data.
The step consists of 3 collapsible sections as follows:
This section is used for the scheduling frequency of the report.
Click on the Radio button to toggle Schedule Reports.
💡Note: The CSV format can not be used to generate Reports for
1. Dashboard as a report
2. Long-term data storage report using chart
After setting everything, click Finish to create the Report. You’ll see the new Report on the Report Builder page.
This feature lets you choose how date fields appear in reports. The default format is DD/MM/YYYY hh:mm: ss.
You can delete the reports either using the Delete button at the top or under the Action column.
💡Note: There are two instances to delete the report: one is from the report listing page under Report Builder, and the other is deleting the generated reports.
To enable a report, select its checkbox, which activates the ‘Enable’ button. Click Enable to make the report accessible for users to generate. You can enable multiple reports simultaneously.
To disable a report, select its checkbox, which activates the ‘Disable’ button. Click Disable. Disabled reports are not available for users to generate reports. You can disable multiple reports simultaneously.
To view how the Report is configured, click on the clickable report name.
On clicking, you will be redirected to the following page. Here you would only be able to view the reports.
You can Preview and Generate reports from this tab. To learn more about generating reports refer to Report Generation page.
To Edit the Report, click on the Edit button located under the Action column of the respective Report.
On clicking, you will be redirected to the following page. Here, you can make desired changes in the report configuration at any step.
To make any changes in Reports, the following action buttons are available in the top right corner.
With object-level permissions, the user who has admin permission will be able to edit and delete the report. Click on Permissions to manage Object Level Permissions in Reports.
The screen will look like this.
For every role, you can give 3 types of permission.
This option will allow you to duplicate existing reports if you wish to use the existing reports as a template.
On clicking the Duplicate report the pop-up will appear, and by default, the report name will be suffixed as ” _copy” to have uniqueness. For example, a duplicate DataModel report will be named DataModel_copy. Users can also rename the report at a later time.
Click on Save to make a copy of the report.
If a report generation is in progress, the user will be notified that they can’t generate the same report again, until the initial report generation is successful.
The Annexure will provide you with some of the sample queries when creating the Report Template using different data sources.
Sample Query
All possible combinations are supported, including Joins, Aggregations, Renaming column names, Mathematical Operations, and Operators.
1. PSQL Queries
a. Longterm storage query:
b. Internal storage query:
2. Elasticsearch Queries:
Here, the user needs to provide an index along with the query, multiple buckets like Date Histogram, Terms, Significant Terms, Data range, filters, etc., and multiple metrics like sum, count, average count, min, max, etc. aggregations are supported.
Query – {‘_source’: [‘alert_id’, ‘Alert-Rule-Name’, ‘alarm_state’], ‘size’: 100}
Index – vunet-1-1-notification-*
Here, the user needs to provide an elastic search query including the index and with a time field. Also, multiple buckets like Date Histogram, Terms, Significant Terms, Data range, filters, etc., and multiple metrics like sum, count, average count, min, max, etc. aggregations are supported.
.es(index=vunet-1-1-notification-*, q=*,size=10, timeseries=False)
Browse through our resources to learn how you can accelerate digital transformation within your organisation.
VuNet’s Business-Centric Observability platform, vuSmartMaps™ seamlessly links IT performance to business metrics and business journey performance. It empowers SRE and IT Ops teams to improve service success rates and transaction response times, while simultaneously providing business teams with critical, real-time insights. This enables faster incident detection and response.