Dynatrace
Learn about the functionality and requirements of the Dynatrace connector for the Aisera platform
This connector is no longer working due to recent changes on the external application's side. We are currently working on an updated version of this connector.
In the meantime, please use the Generic Connector to connect to the external application. We will update this documentation once the new connector is available.
Refer to the V2 API documentation for use with the Generic Connector at this link: https://docs.dynatrace.com/docs/discover-dynatrace/references/dynatrace-api/environment-api/events-v2/get-events
Overview
This page outlines the steps to set up a Dynatrace connector for action or data source configurations.
Prepare
Endpoint
You will need the base URL for your Dynatrace instance. This will look like https://<your_domain>.live.dynatrace.com
Authentication
You will need to generate a Token for the Aisera Platform to authenticate with Dynatrace. Instructions on how to do this can be found at Dynatrace API - Tokens and authentication.
Integration Setup
In the Aisera Admin UI navigate to Settings > Integrations
Click on + New Integration
In the menu, select Dynatrace and click Next

Enter the Configuration details and select Next
FieldDescriptionName
The name used to identify the integration
Endpoint
The base URL for your Dynatrace instance
Description
A description of the integration and it's purpose

Input the token you generated for authentication
Click OK to save the integration
Data Source Setup
To configure the Dynatrace data source:
In the Aisera Admin UI navigate to Settings > Data Sources
Click + New Data Source in the upper right corner
Select Dynatrace and click Next

Select Alerts Learning under the Functions dropdown

Input the general configurations and click Next
FieldDescriptionName
The name used to identify the data source.
Integration
The integration with the necessary authentication information for data retrieval.
Schedule
This determines how often the Data Source will request new data.
Data Retrieval
How you would like the data to be retrieved.
Incremental - Will retrieve only the data which has been created or updated since the last data ingestion
Date Range - Will pull data from a specified Date Range. If the end date is left blank it will pull all articles after the specified start date.
Description
A description of the integration and it's purpose.
All configurations in Step 3 of 4: Configuration are optional. See the section below for more information. Click Next to proceed.
You will need to provide a JSON for the Overrides Configuration. Edit the following JSON to include the following:
BASE_URL - This should be replaced by the base URL of the Dynatrace instance, for example
https://<your_domain>.live.dynatrace.comextraQueryTextConfiguration - Replace the default parameter key, "
entitySelector", with "eventSelector"if you want the Custom Query to use this query parameter instead.
{ "xml2json": false, "externalSystemTypeEnum": "Generic", "supportectContentTypes": [ "Alert" ], "contentTypeConfiguration": { "Alert": { "appliesToChildren": true, "httpContentType": "application/json", "acceptContentType": "application/json", "requestCharset": "utf-8", "pagination": { "type": "element", "nextLinkPath": "nextPageKey", "discardDot": false, "appendToBaseUrl": false, "limitParam": "pageSize", "defaultLimit": 1000, "defaultOffset": 0, "dateFormat": "unix_timestamp", "parameters": [ { "field": "from", "operator": "eq", "value": "{_startDate_}" }, { "field": "to", "operator": "eq", "value": "{_endDate_}" } ], "tableEntriesArrayPath": "events", "tableEntryPath": "top", "isTableEntryJSONArray": true, "retriesNo": 0, "appendTopElement": false, "overrideWithDefaultLimit": true }, "pathMappings": [ { "path": "/api/v2/events", "pathByKey": "/api/v2/events/{_key_}" } ], "supportedOperations": [ "LIST" ], "operations": [ { "operation": "LIST", "httpMethod": "get", "headers": {}, "useFormPayload": false, "useBinaryPayload": false, "customClose": false, "returnGetTableEntryOnClose": false, "customAddComment": false, "useCreatePathInUpdate": false, "listEntryJoltTransforms": [] } ], "respectRequestPaginationInCount": false, "respectEndDate": false, "respectStartDate": false, "discardEntriesOutOfStartOrEndDate": false, "handleNullDatesConfiguration": true, "handleDefaultDatesConfiguration": true, "nullDateStartHoursBefore": -262800, "nullDateEndHoursAfter": 24, "addElementAsArrayUnderTop": false, "downloadFiles": false, "timezone": "UTC", "doNotFailOnNestedCall": false, "isAttachment": false, "isFileDownloadRequest": false, "responseTransformationScript": "var nextPageKey = jsobject.nextPageKey;\nif (nextPageKey) {\n\tjsobject.nextPageKey = \"BASE_URL/api/v2/events?nextPageKey=\" + nextPageKey;\n}\n\njsobject;", "prefetchConfigurations": [] } }, "accessTokenPrefix": "Api-Token ", "basicTokenAuth": true, "startDate": false, "endDate": false, "extraQueryTextConfiguration": { "parameter": "entitySelector", "mode": "PARAM" }, "sleepOnErrors": 1000, "retries": 1, "rateLimitRespectNo": 0, "rateLimitEntriesSize": 300, "sleepOnRateLimit": 1000, "accessTokenHeader": "Authorization", "timezone": "UTC", "record": false, "useInterval": false, "interval": 0, "disableFetchingServiceCatalogCategories": false, "githubRepos": [], "ingestGithubPullRequestCommits": false, "ingestGithubPullRequestReviewComments": false, "ingestGithubPullRequestComments": false, "externalSystemClientV2": { "configuration": { "host": "tenant-server", "port": 8088, "apiBasePath": "/tenant-server/v2", "trustAnySSLCertificate": true } }, "externalSystemId": 0, "secondReading": false, "hasImageProfile": true, "bypassNestedCallsForTestConnection": false, "authType": "Token", "useRawToken": false, "useRemoteExecutor": false, "useUserCredentials": false, "trustAnySSLCertificate": true, "contextParameters": {} }Click OK to save the data source.
Optional Configurations
Bypass Test Connection
Disable if you want to bypass the test connection
Custom Query
This field accepts values that will be included in the Query Parameters in the API request from the connector to Dynatrace. For example, if the value type("ENVIRONMNET") is inserted into the field, the query parameter entitySelector=type("ENVIRONMENT") will be added to the request made to Dynatrace. The key of this query parameter is determined by the provided override configuration JSON provided.
Transformation Script
This field is used to transform data at it is being ingested into the Aisera platform. This script is written in JavaScript.
Post Setup Actions
Data Ingestion
After you've successfully set up your connector, your data will automatically sync according to the schedule settings or on demand, as specified during the Data Source Configuration step. However, you should perform a manual sync immediately. This initial run will serve two key purposes:
After setting up your connector, your data will sync automatically based on your schedule parameters, or you can choose the "on demand" configuration to sync data only when requested.
It confirms the connector is working properly.
It provides an immediate view of the information being ingested into the Aisera Application, allowing you to validate and begin working with the data.
To manually ingest data:
In the Aisera Admin UI navigate to Settings > Data Sources.

Data Sources Window Click on the Data Source you wish to manually ingest data from.
At the top right of the Data Source Details page, click the Play button to manually ingest data.

Data Source Window
Last updated
Was this helpful?
