Building queries to fetch data
By using various query types, you can fetch data such as events, metrics, audits, incidents, and so on. The following table lists the available query types:
Query type | Description |
---|---|
Collects the audit data from BMC Helix Portal. | |
Collects the device compliance data from BMC Helix Cloud Security. | |
Collects event data from BMC Helix Operations Management. You can collect data for open events, closed events, and so on. | |
Collects system log data from BMC Helix Log Analytics. You can collect logs data pertaining to windows module installer, pods, and so on. | |
Collects performance metrics data of your devices from BMC Helix Operations Management andBMC Helix Continuous Optimization. | |
Collects service data from BMC Helix ITSM. You can collect data for incident management, change management, problem management, and so on. |
Example: View the number of incidents by submitter
Let's say you are a tenant administrator who wants to view the number of incidents by submitter in your organization. Use BMC Helix data source, Service Management query type, and SQL type to fetch the data by specifying the following query:
You can identify the statistics of various incidents by submitter and their statuses. For the above example, select the Table visualization panel or enable the Table view toggle button to verify the data in a tabular format.
To build a query
- Hover over the Dashboards , and click New Dashboard.
- On the New dashboard page, click Add new panel.
- In the Query section, select the BMC Helix data source for the query.
- In the Query Type field, select a query type.
- In the Query field, add the query.
This field changes according to the query type that you select. - (Optional) To add another query in the same panel, click Query and add the required information.
- Save the panel.