Create reports in CMDB Query Builder
Use CMDB Query Builder reports to show the results of a CMDB query or a Service Mapping query. Create a basic report, or a dynamic report that automatically updates when the results of the associated saved query change.
Create a dynamic report
After running a saved query in the CMDB Query Builder, create a dynamic report that continuously updates to show the latest query results. You can use a dynamic report as any other report created using Reporting and you can add it to Performance Analytics dashboards.
Before you begin
Ensure that the query that you want to create a dynamic report for is a saved query, and that there is a specified schedule for the query. Also, run the saved query and ensure that all query results are visible.
- To create: cmdb_query_builder and report_user
- To view: Reporting role requirements might apply, see Administering reports for Reporting role requirements.
About this task
- The query is saved
- The query has a schedule
- The entire set of query results is present after a query run
The initial dynamic report that you create, is based on the results from the initial run of the saved query. Then, on every subsequent run of the saved query, the associated report automatically updates with the latest query results.
However, if you change the query definition itself, the query and the report are no longer in sync and you must create a new report.
Procedure
Result
What to do next
- In Query Builder, click Saved Queries. In the Saved Queries window, click the Query Information icon in the tile of the saved query. Scroll to the bottom of the information list and then click the link under Report source.
- Navigate to and locate the new report source.
Create a basic report
After running a query in the CMDB Query Builder, you can create a basic report that is scoped to the query execution.
Before you begin
The Core UI plugin (com.glide.ui.ui16) must be activated.
- View report: cmdb_query_builder or cmdb_query_builder_read
- Create report: cmdb_query_builder or cmdb_query_builder_read, and report_user
Procedure
- Navigate to and click CMDB Query Builder.
- Build a query.
- In the query results pane, click Load More Results or Load All Results to load all the results that you want to include in the basic report.
- In the query results pane, click the column context menu and select Bar Chart or Pie Chart.