Integrating with Dynatrace via API
You can view the collected data in various BMC Helix applications and derive the following benefits:
BMC Helix application | Type of data collected or viewed | Benefits |
|---|---|---|
BMC Helix Operations Management | Events ( Dynatrace alerts are received as events) | Use a centralized event view to monitor and manage events, perform event operations, and filter events. Identify actionable events from a large volume of event data by processing events. For more information, see Monitoring events and reducing event noise. |
BMC Helix Operations Management | Metrics | Use alarm and variate policies to detect anomalies and eliminate false positives for more accurate results while monitoring the health of your system. For more information, see Detecting anomalies by using static and dynamic thresholds. |
BMC Helix Discovery | Topology | Collect all CIs from Dynatrace in BMC Helix Discovery. Collect services from Dynatrace in BMC Helix Discovery in a format that can be consumed by BMC Helix AIOps. For more information, see Managing your IT infrastructure. |
BMC Helix AIOps | Situations (created from events) | Improve the mean time to resolve (MTTR) based on the situation-driven workflow. Lower the mean time to detect or discover (MTTD) and the time required for investigating tickets. For more information, see Monitoring situations. |
BMC Helix Dashboards | Metrics | Create dashboards to get a consolidated view of data collected from third-party products across your environment. Improve the efficiency of your system by monitoring the key performance metrics and respond to issues quickly to minimize the down time. For more information, see Creating and customizing dashboards. |
BMC Helix AIOps | Services (created from topology) | Monitor the overall health of a service. When the service gets impacted by any factor, view the events generated because of the impact, analyze the causes of the impact, and quickly remediate those events to restore the health of the impacted service. For more information, see Monitoring services. |
Watch the following part 1 (2:57) and part 2 (2:20) videos to learn how to collect events, metrics, and topology data from Dynatrace and view the collected data in BMC Helix applications.
Supported version
BMC Helix Intelligent Integrations supports version 1.307 of Dynatrace for data collection.
Before you begin
Make sure you perform the following actions before you configure a connection with Dynatrace:
Dynatrace requirements
To access the Dynatrace APIs required for data collection, generate an API token or create an OAuth client with the required scopes.
API token requirements
If you plan to use an API token, generate a token with the following scopes:
- API v2:
- entities.read
- events.read
- extensions.read
- logs.read
- metrics.read
- networkZones.read
- problems.read
- releases.read
- securityProblems.read
- settings.read
- slo.read
- API v1:
- DataExport
For more information about tokens, see Dynatrace API - Tokens and authentication in the Dynatrace documentation.
OAuth client requirements
If you plan to use OAuth authentication, create the OAuth client with the following scopes in addition to the preceding API v2 scopes:
- account-env-read
- account-audit-logs-read
- storage:events:read
- storage:bizevents:read
- storage:user.events:read
- storage:security.events:read
- storage:entities:read
- storage:logs:read
- storage:metrics:read
For more information about creating OAuth clients and assigning scopes, see OAuth clients in the Dynatrace documentation.
BMC Helix Intelligent Integrations requirements
- Depending on your requirements, choose the BMC Helix Intelligent Integrations deployment modes and review the corresponding port requirements. For information about various deployment modes and port requirements, see Deployment scenarios.
- Based on the deployment mode, use the BMC Helix Intelligent Integrations SaaS deployment or deploy the BMC Helix Intelligent Integrations on-premises gateway. For more information about the gateway, see Deploying the BMC Helix Intelligent Integrations on-premises gateway.
- Make sure that the on-premises gateway is able to reach the third-party product on the required port (default value is 443).
- In the pattern configuration for Dynatrace, set the create_nodes variable to true (default is false).
For information about setting the variable, see Configuring patterns in the UI.
Task 1: To configure the connection with Dynatrace
To access BMC Helix Intelligent Integrations, perform one of the following steps depending on your deployment mode:
- BMC Helix Intelligent Integrations SaaS—Log on to BMC Helix Portal, and click the BMC Helix Intelligent Integrations tile.
- BMC Helix Intelligent Integrations on-premises gateway—Use the following URL to access BMC Helix
Intelligent Integrations: https://hostName:portNumber/swpui
- On the CONNECTORS tab, click
in the SOURCES panel. Click the Dynatrace Managed/SaaS tile.
Specify the following details for the source connection:
Specify a unique instance name.
- Specify the Dynatrace host name.
- Specify the Dynatrace HTTP or HTTPS port number, depending on the connection protocol (the default port number is 443).
- Select the HTTPS option to use an HTTPS connection to the Dynatrace host.
- Specify the number of maximum concurrent REST API requests that should be executed during a collection schedule (default value is 5).
- Specify the time, in seconds, after which no attempt should be made to establish a connection (default value is 30).
- Specify one of the following authentication methods:
- API token—Specify a valid token to access the API. Make sure that the token is created with the required scopes. For more information about obtaining token, see Dynatrace API - Tokens and authentication in the Dynatrace documentation.
- OAuth—Select the Use OAuth option and specify the Dynatrace account URN, client ID, and client secret. Make sure that the client ID or client name is registered as an OAuth client in Dynatrace. For more information about obtaining these details, see OAuth clients in the Dynatrace documentation.
- (On-premises only) The Environment ID is similar to the Account ID. Leave this field blank for SaaS deployments.
- Click Proxy and specify whether you want to configure a proxy server. If yes, specify the host name and port number (default value is 8888).
- Click VALIDATE AND CREATE.
The specified connection details are validated, and the corresponding source connection is created in the Source Connection list. Select the source connection that you created from the list if it is not selected already.
- Make sure that you select the options for the required data types to collect data.
Configure the collectors for the selected data types by clicking the respective data type in the Collectors section.
- To create the required collector streams for the selected data types, click CREATE COLLECTORS.
Configure the distributors for the selected data types by clicking the respective data type in the Distributors section.
- Click CREATE DISTRIBUTORS to create the required distributor streams for the selected data types.
- Click VALIDATE AND CREATE and then click SAVE STREAM to save the stream.
After you save the stream, the connection that you just created is listed on the SOURCES panel. - (Optional, applicable for 26.1.01 and later versions) Perform the following steps if you want to collect and view the Dynatrace metrics data in a hierarchical manner. Otherwise, skip to step 14.
With the custom JSLT, each host is represented as a device in BMC Helix Operations Management, and process group instances are represented as monitors, with related metrics organized hierarchically beneath them.- On the SOURCES panel, click Configure Mediator
for the source connection that you created and then expand DYNATRACE METRICS and navigate to the DISTRIBUTOR CONFIGURATION tab. - To view JSON in edit mode, click Edit JSON.
Search for the following line:
"jsltField": "//NO JSLT",Delete the existing value from the jsltField field; the result should look as follows:
"jsltField": "",- To disable the edit mode for JSON, click Edit JSON.
In the JSLT field, enter the following JSLT:
- Click SAVE & CLOSE.
- On the SOURCES panel, click Configure Mediator
- On the SOURCES panel, move the slider to the right to start the data stream for the connector you created.
Task 2: To verify the connection
In BMC Helix Intelligent Integrations, on the SOURCES panel, confirm that the data streams for the integration you created are running. Data streaming is indicated by moving colored arrows.

- A moving dark blue arrows (
) indicate that the event stream is running. Event data will be pushed according to the configured Collection Schedule interval. - A moving red arrow (
) indicates that the metric stream is running. Metric data will be pushed according to the configured Collection Schedule interval. - A moving light blue arrow (
) indicates that the topology stream is running. Topology data will be pushed according to the configured Collection Schedule interval.
Task 3: To view data in BMC Helix applications
View data collected from Dynatrace in multiple BMC Helix applications.
To view events in BMC Helix Operations Management
- In BMC Helix Operations Management, select Monitoring > Events.
- Filter the events by the DynatraceAlert class.

Incoming events from Dynatrace are processed in BMC Helix Operations Management through a set of deduplication rules to determine whether the incoming event is a duplicate event or a new event. For more information, see Event deduplication, suppression, and closure for reducing event noise.
For information about events, see Monitoring and managing events.
To view metrics in BMC Helix Operations Management
- In BMC Helix Operations Management, select Monitoring > Devices.
- Click the link for the device that has received metrics from Dynatrace.
- On the Monitors tab, expand the monitor hierarchy.
Monitors are visible in a hierarchy if you have used the custom JSLT when configuring the metric distribution parameters.
- Click the monitor that contains the received metric data.
The following figure shows the graph for a sample metric on the Performance Overview tab.
For information about metrics, see Viewing collected data
To view the topology data in BMC Helix Discovery
In BMC Helix Discovery, select Explore > Data, and click <count> Import Records in the Miscellaneous section. The Import Record List page shows the CI records received from Dynatrace. For information about records, see Managing your IT infrastructure.
To view services and situations in BMC Helix AIOps
Before you view services and situations in BMC Helix AIOps, create a Business Service model in BMC Helix Discovery. For information about creating models, see Managing models.
In BMC Helix AIOps, on the Overview page, view the services and situations for the event and topology data received from Dynatrace.