Quick start tutorial: Creating a report
Estimated time to complete: 4-6 minutes
This tutorial page will explore how you can create a chart for a report using data logged by Tracker. The report created on this tutorial page will display how many times an endpoint has been used to invoke a service in a table.
The Tracker search index must have records
The chart in this tutorial uses data from Tracker. If there are no records existing in Tracker, there will be no data rendered in the chart. You can learn how to log data to Tracker through this tutorial.
Create the report
To create a report:
- Right-click the Reports node of the instance where the report will reside. From the appearing context menu, select New > Martini Report. This will launch the report wizard.
- Populate the required fields displayed by the wizard.
- Click Finish.
Organize the report's layout
In reports, you use rows and columns to organize the layout of a report page. Report Builder's grid system takes after Bootstrap 3's grid system.
To add a row or column, hover over the desired parent element, and click the '+' button. When adding a column, you will be asked to provide the number of units the column will span. A column can span from 1 to 12 units.
Create the chart
Once the report's layout has been arranged, you can now add a chart in place. To do this:
- Hover over the desired parent element, and then click the chart button. The chart wizard will appear.
Select the chart's data source using the Data Series tab.
Select the type of data source. For this tutorial, select Search Index > Tracker.
Provide the properties the chart will render. For this tutorial, choose
documentTypeNamefor the Facet List field, and then set Facets Limit to
Set the name and type of the chart using the Chart Settings tab.
- (Optional) Further customize the appearance of the chart using the Customisation tab.
- Click Generate Report.
View the report
Save your changes by pressing (or by pressing the save button in the main toolbar). Right-click on the report in the Navigator and then select Open in Browser to view the generated HTML document for your report in a browser.
As an alternative, you can also preview your report while still in Report Builder. To do this, open your report, and then select the Preview tab if you're using Martini Desktop; or click the preview button on the toolbar if you're using Martini Online.