# Dynatrace API

**URL:** https://community.dynatrace.com/c/platform/api/94.md?page=6

[Latest](https://community.dynatrace.com/latest.md) · [Categories](https://community.dynatrace.com/categories.md) · [Tags](https://community.dynatrace.com/tags.md)

**Page:** 7

---

## [Integrating Dynatrace with Jenkins for Deployment Events (API v2 Compatibility)](https://community.dynatrace.com/t/integrating-dynatrace-with-jenkins-for-deployment-events-api-v2-compatibility/45937)

<div class="topic-metadata">

**Author:** [@pmarchena](https://community.dynatrace.com/u/pmarchena)\
**Replies:** 4\
**Last updated:** [June 6, 2024, 2:10pm UTC](https://community.dynatrace.com/t/integrating-dynatrace-with-jenkins-for-deployment-events-api-v2-compatibility/45937 "2024-06-06T14:10:14Z")

</div>

Hi everyone, I’m working on integrating Dynatrace with Jenkins to send deployment events. I’ve found two resources: Official documentation mentioning a plugin: Docs link Blog post referencing a library: Blog link Bot…

---

## [Error while using curl](https://community.dynatrace.com/t/error-while-using-curl/45866)

<div class="topic-metadata">

**Author:** [@Vijayt](https://community.dynatrace.com/u/Vijayt)\
**Replies:** 1\
**Last updated:** [June 3, 2024, 6:12am UTC](https://community.dynatrace.com/t/error-while-using-curl/45866 "2024-06-03T06:12:31Z")

</div>

I have two question 1. where i can run dsql . i dont see any navigation in dynatrace .any separate tool to be installed 2. i using a simple query to list of dashboards using curl but for any query , i always get…

---

## [Running local script, what do I add to the allow list"?](https://community.dynatrace.com/t/running-local-script-what-do-i-add-to-the-allow-list/45618)

<div class="topic-metadata">

**Author:** [@henk\_stobbe](https://community.dynatrace.com/u/henk_stobbe)\
**Replies:** 1\
**Last updated:** [May 31, 2024, 7:38am UTC](https://community.dynatrace.com/t/running-local-script-what-do-i-add-to-the-allow-list/45618 "2024-05-31T07:38:15Z")

</div>

Hi all, Look at below error: { “error”: { “code”: 541, “message”: “Execution crashed.”, “details”: { “logs”: “”, “type”: “ILLEGAL\_FETCH”, “message”: “Uncaught (in promise) Error: Blocked request to ‘secret.live.…

---

## [Logs API](https://community.dynatrace.com/t/logs-api/45766)

<div class="topic-metadata">

**Author:** [@rouaa](https://community.dynatrace.com/u/rouaa)\
**Replies:** 8\
**Last updated:** [May 28, 2024, 6:14am UTC](https://community.dynatrace.com/t/logs-api/45766 "2024-05-28T06:14:05Z")

</div>

Hello, Im new to Dynatrace and im currently facing problems when trying to get the logs through the API, at first i thought i was a problem with the token, but now that i have a oauth token, it’s still not working. Can …

---

## [Deploy a Maintenance Window](https://community.dynatrace.com/t/deploy-a-maintenance-window/45677)

<div class="topic-metadata">

**Author:** [@alcq](https://community.dynatrace.com/u/alcq)\
**Replies:** 6\
**Last updated:** [May 23, 2024, 6:51am UTC](https://community.dynatrace.com/t/deploy-a-maintenance-window/45677 "2024-05-23T06:51:46Z")

</div>

Greetings everyone, In the case of my internship, my job is to “automate” the deployement of maintenance windows without using the web interface. As I’m beginner with Dynatrace, I was wondering how to use the Dynatrace…

---

## [Metric API POST limit](https://community.dynatrace.com/t/metric-api-post-limit/45061)

<div class="topic-metadata">

**Author:** [@TorstenHellwig](https://community.dynatrace.com/u/TorstenHellwig)\
**Replies:** 3\
**Last updated:** [May 20, 2024, 7:35pm UTC](https://community.dynatrace.com/t/metric-api-post-limit/45061 "2024-05-20T19:35:14Z")

</div>

Hi all, I’m using the metrics api on Dynatrace Managed from a plugin and have to post a quite large number of metrics - like 90K lines on a test env so that’s gonna get worse when I go to prod. Found that there seems t…

---

## [Where environments events can viewed?](https://community.dynatrace.com/t/where-environments-events-can-viewed/45668)

<div class="topic-metadata">

**Author:** [@AntonPineiro](https://community.dynatrace.com/u/AntonPineiro)\
**Replies:** 3\
**Last updated:** [May 20, 2024, 2:26pm UTC](https://community.dynatrace.com/t/where-environments-events-can-viewed/45668 "2024-05-20T14:26:50Z")

</div>

Hi, If you ingest events using Events API v2 and it is linked to “dt.entity.environment”. Can we view those events in the Dynatrace UI or only via API? We cannot use DQL or notebooks yet. My question is more if we have…

---

## [Seeing Database Queries](https://community.dynatrace.com/t/seeing-database-queries/45633)

<div class="topic-metadata">

**Author:** [@kasdev](https://community.dynatrace.com/u/kasdev)\
**Replies:** 2\
**Last updated:** [May 19, 2024, 3:04pm UTC](https://community.dynatrace.com/t/seeing-database-queries/45633 "2024-05-19T15:04:47Z")

</div>

Hello. I want to see database queries via api but i dont know how to achieve it or if its possible. Anyone has an idea?

---

## [Problem getting metrics from Dynatrace Managed](https://community.dynatrace.com/t/problem-getting-metrics-from-dynatrace-managed/45645)

<div class="topic-metadata">

**Author:** [@geonaute123](https://community.dynatrace.com/u/geonaute123)\
**Replies:** 3\
**Last updated:** [May 18, 2024, 12:26pm UTC](https://community.dynatrace.com/t/problem-getting-metrics-from-dynatrace-managed/45645 "2024-05-18T12:26:05Z")

</div>

I am trying to utilize this python script: import requests import csv DYNATRACE\_BASE\_URL = ‘https://your-dynatrace-instance.com/api/v1’ API\_TOKEN = ‘your-api-token’ MANAGEMENT\_ZONE\_ID = ‘your-management-zone-id’ he…

---

## [Exporting to CSV](https://community.dynatrace.com/t/exporting-to-csv/45644)

<div class="topic-metadata">

**Author:** [@geonaute123](https://community.dynatrace.com/u/geonaute123)\
**Replies:** 2\
**Last updated:** [May 17, 2024, 10:26am UTC](https://community.dynatrace.com/t/exporting-to-csv/45644 "2024-05-17T10:26:47Z")

</div>

I am trying to export 2 metrics of a specific management zone to CSV: the number of transactions and response time, however I get the following error with this powershell code: \[Net.ServicePointManager\]::ServerCertifica…

---

## [Account API management on Dynatrace Managed](https://community.dynatrace.com/t/account-api-management-on-dynatrace-managed/42004)

<div class="topic-metadata">

**Author:** [@saeedtemraz](https://community.dynatrace.com/u/saeedtemraz)\
**Replies:** 1\
**Last updated:** [May 15, 2024, 7:00pm UTC](https://community.dynatrace.com/t/account-api-management-on-dynatrace-managed/42004 "2024-05-15T19:00:49Z")

</div>

Can I use the below API on Dynatrace managed or is it only available on SAS? I can’t find OAuth client creation option on Dynatrace.

---

## [Feature not enabled on server nodes](https://community.dynatrace.com/t/feature-not-enabled-on-server-nodes/44163)

<div class="topic-metadata">

**Author:** [@anupvtr](https://community.dynatrace.com/u/anupvtr)\
**Replies:** 1\
**Last updated:** [May 15, 2024, 6:53pm UTC](https://community.dynatrace.com/t/feature-not-enabled-on-server-nodes/44163 "2024-05-15T18:53:03Z")

</div>

Hello All, Thanks in advance, I am trying to download the BOSH release oneagent on my laptop. using the below cURL(PowerShell command ). Unfortunately i am receiving the error “code”: 404 “message”: “feature not enable…

---

## [What is the correct IP Address of Kubernetes Node coming from the payload?](https://community.dynatrace.com/t/what-is-the-correct-ip-address-of-kubernetes-node-coming-from-the-payload/45362)

<div class="topic-metadata">

**Author:** [@mango\_byte](https://community.dynatrace.com/u/mango_byte)\
**Replies:** 1\
**Last updated:** [May 15, 2024, 6:41pm UTC](https://community.dynatrace.com/t/what-is-the-correct-ip-address-of-kubernetes-node-coming-from-the-payload/45362 "2024-05-15T18:41:30Z")

</div>

Hi, I am trying to fetch KUBERNETES\_NODE from Dynatrace v2 API, and I am getting the below payload, I want to use the IP Address value for the Node, but as you can see inside properties there is an array of internalIPAd…

---

## [API list based on severity](https://community.dynatrace.com/t/api-list-based-on-severity/45522)

<div class="topic-metadata">

**Author:** [@Phumla\_Dzena](https://community.dynatrace.com/u/Phumla_Dzena)\
**Replies:** 2\
**Last updated:** [May 11, 2024, 9:48am UTC](https://community.dynatrace.com/t/api-list-based-on-severity/45522 "2024-05-11T09:48:30Z")

</div>

Hi Team, How to pull API list based on problem severity. I managed to get: Monitoring unavailable, Availability, Error & Custom. I am having an issue with Resource and Slowdown. What entity selector can I use for those? …

---

## [Change settings via API using powershell](https://community.dynatrace.com/t/change-settings-via-api-using-powershell/45499)

<div class="topic-metadata">

**Author:** [@Mario\_DT](https://community.dynatrace.com/u/Mario_DT)\
**Replies:** 2\
**Last updated:** [May 9, 2024, 10:04am UTC](https://community.dynatrace.com/t/change-settings-via-api-using-powershell/45499 "2024-05-09T10:04:21Z")

</div>

Hello Community, I am trying to set the monitoring mode for a specific host using API with powershell. With cURL was very easy, with Powershell i am struggling. I have created the script below, but i get the following e…

---

## [Integrate the Dynatrace with Zenoss](https://community.dynatrace.com/t/integrate-the-dynatrace-with-zenoss/45364)

<div class="topic-metadata">

**Author:** [@anupvtr](https://community.dynatrace.com/u/anupvtr)\
**Replies:** 1\
**Last updated:** [April 30, 2024, 1:36pm UTC](https://community.dynatrace.com/t/integrate-the-dynatrace-with-zenoss/45364 "2024-04-30T13:36:51Z")

</div>

Hello All, Thanks in advance. I have a requirement to integrate the Dynatrace alerts to Zenoss. We are using the Zenoss as an event correlation layer. Zenoss will cut the ticket in the ITSM tool. For this purpose, i n…

---

## [API authentication error](https://community.dynatrace.com/t/api-authentication-error/45076)

<div class="topic-metadata">

**Author:** [@gdp-d](https://community.dynatrace.com/u/gdp-d)\
**Replies:** 2\
**Last updated:** [April 28, 2024, 1:53pm UTC](https://community.dynatrace.com/t/api-authentication-error/45076 "2024-04-28T13:53:37Z")

</div>

I am unable to use POST request using event ingest API curl --request POST \\ --url https://{environmentid}.apps.dynatrace.com/api/v2/events/ingest \\ --header 'Authorization: Api-Token dt0c01.XXXX.XXXXX' \\ --da…

---

## [Identifying logs that are not ingested programatically](https://community.dynatrace.com/t/identifying-logs-that-are-not-ingested-programatically/45207)

<div class="topic-metadata">

**Author:** [@jonno56](https://community.dynatrace.com/u/jonno56)\
**Replies:** 3\
**Last updated:** [April 27, 2024, 7:07pm UTC](https://community.dynatrace.com/t/identifying-logs-that-are-not-ingested-programatically/45207 "2024-04-27T19:07:45Z")

</div>

In a host screen, we can see logs that have been detected but are not ingested: How can these be listed via an API call? I have looked at the data returned from the entity API for this host & also for the process\_gr…

---

## [Is it possible to retrieve a list of logs being monitored on a host using an API?](https://community.dynatrace.com/t/is-it-possible-to-retrieve-a-list-of-logs-being-monitored-on-a-host-using-an-api/45054)

<div class="topic-metadata">

**Author:** [@sjkim](https://community.dynatrace.com/u/sjkim)\
**Replies:** 4\
**Last updated:** [April 27, 2024, 12:38pm UTC](https://community.dynatrace.com/t/is-it-possible-to-retrieve-a-list-of-logs-being-monitored-on-a-host-using-an-api/45054 "2024-04-27T12:38:16Z")

</div>

Hi, I couldn’t find a way to retrieve a list of monitored log files. Is there an API for this? Regards, Sangjun

---

## [Get "User actions with errors that impact the Apdex" values via API](https://community.dynatrace.com/t/get-user-actions-with-errors-that-impact-the-apdex-values-via-api/45268)

<div class="topic-metadata">

**Author:** [@36Krazyfists](https://community.dynatrace.com/u/36Krazyfists)\
**Replies:** 3\
**Last updated:** [April 25, 2024, 6:09am UTC](https://community.dynatrace.com/t/get-user-actions-with-errors-that-impact-the-apdex-values-via-api/45268 "2024-04-25T06:09:25Z")

</div>

If you go to a Key User Action in a web Application in Dynatrace, and you hit the down arrow under "Show trend " in the Apdex rating widget, there’s a handy little bar chart in there called Error impact on Apdex. It sho…

---

## [Retrieve Entity Display Names and IDs Using the Dynatrace API](https://community.dynatrace.com/t/retrieve-entity-display-names-and-ids-using-the-dynatrace-api/45275)

<div class="topic-metadata">

**Author:** [@palemmahesh](https://community.dynatrace.com/u/palemmahesh)\
**Replies:** 2\
**Last updated:** [April 24, 2024, 3:23pm UTC](https://community.dynatrace.com/t/retrieve-entity-display-names-and-ids-using-the-dynatrace-api/45275 "2024-04-24T15:23:55Z")

</div>

Summary: This thread explains which Dynatrace API endpoints return displayName together with entityId. It outlines available fields, parameter requirements, and typical patterns for entity queries. While getting metrics…

---

## [Extracting using API](https://community.dynatrace.com/t/extracting-using-api/45277)

<div class="topic-metadata">

**Author:** [@Marvel22](https://community.dynatrace.com/u/Marvel22)\
**Replies:** 2\
**Last updated:** [April 24, 2024, 2:40pm UTC](https://community.dynatrace.com/t/extracting-using-api/45277 "2024-04-24T14:40:44Z")

</div>

Hi all I am working on Trend analysis trying to find the Patterns and Trends on our problems from DT dashboard, so I want to use API’s to extract Problems, is it possible to filter by time and date? can the problems ext…

---

## [Export Data from Elastic to Dynatrace](https://community.dynatrace.com/t/export-data-from-elastic-to-dynatrace/45060)

<div class="topic-metadata">

**Author:** [@Benedikt](https://community.dynatrace.com/u/Benedikt)\
**Replies:** 4\
**Last updated:** [April 23, 2024, 10:26pm UTC](https://community.dynatrace.com/t/export-data-from-elastic-to-dynatrace/45060 "2024-04-23T22:26:10Z")

</div>

Hello all, currently we are trying to export data from Elasticsearch to Dynatrace. We want to export specific fields to Dynatrace every hour. What would be the best approach to do so? Greetings and thank you in advanc…

---

## [Database APIs](https://community.dynatrace.com/t/database-apis/45173)

<div class="topic-metadata">

**Author:** [@Phumla\_Dzena](https://community.dynatrace.com/u/Phumla_Dzena)\
**Replies:** 1\
**Last updated:** [April 17, 2024, 11:46am UTC](https://community.dynatrace.com/t/database-apis/45173 "2024-04-17T11:46:58Z")

</div>

Hi Team, Is there a way to extract a list of databases monitored on Dynatrace using the Rest API?

---

## [Events api v2](https://community.dynatrace.com/t/events-api-v2/45082)

<div class="topic-metadata">

**Author:** [@gdp-d](https://community.dynatrace.com/u/gdp-d)\
**Replies:** 9\
**Last updated:** [April 15, 2024, 12:08pm UTC](https://community.dynatrace.com/t/events-api-v2/45082 "2024-04-15T12:08:53Z")

</div>

I have used dynatrace events api and got the follow response code { "reportCount": 1, "eventIngestResults": \[ { "correlationId": "59c8a191229f84df", "status": "OK" } \]…

---

## [Entity selector for agentless RUM](https://community.dynatrace.com/t/entity-selector-for-agentless-rum/45092)

<div class="topic-metadata">

**Author:** [@gdp-d](https://community.dynatrace.com/u/gdp-d)\
**Replies:** 5\
**Last updated:** [April 12, 2024, 9:15pm UTC](https://community.dynatrace.com/t/entity-selector-for-agentless-rum/45092 "2024-04-12T21:15:46Z")

</div>

I have to use custom deployment api and puslish custom deployment data to dynatrace.I am using agentless RUM to monitor a static site hosted in s3.I have an github pipeline to deploy the application and I would like upda…

---

## [Impersonification Best Practices for Problem Comments, via API?](https://community.dynatrace.com/t/impersonification-best-practices-for-problem-comments-via-api/45088)

<div class="topic-metadata">

**Author:** [@AntonioSousa](https://community.dynatrace.com/u/AntonioSousa)\
**Replies:** 2\
**Last updated:** [April 12, 2024, 6:37pm UTC](https://community.dynatrace.com/t/impersonification-best-practices-for-problem-comments-via-api/45088 "2024-04-12T18:37:40Z")

</div>

The issue of submitting comments on problems through the API, while integrating Dynatrace with other ITSM solutions, raises some questions. One of them is that using the API through a single token delivers comments alwa…

---

## [POWER BI - Totalcount over 500](https://community.dynatrace.com/t/power-bi-totalcount-over-500/44868)

<div class="topic-metadata">

**Author:** [@Sullivan](https://community.dynatrace.com/u/Sullivan)\
**Replies:** 3\
**Last updated:** [April 10, 2024, 1:34pm UTC](https://community.dynatrace.com/t/power-bi-totalcount-over-500/44868 "2024-04-10T13:34:57Z")

</div>

Hi everyone, I would like to know if anyone has used Power BI to export problem data from API V2. API V2-\> Problems → List of problems observed in the specified period. I am experiencing a problem I have +500 problems…

---

## [KUBERNETES\_NODE and KUBERNETES\_CLUSTER entity type isNodeOfHost and isClusterOfHost is not coming in payload](https://community.dynatrace.com/t/kubernetes-node-and-kubernetes-cluster-entity-type-isnodeofhost-and-isclusterofhost-is-not-coming-in-payload/44941)

<div class="topic-metadata">

**Author:** [@Adarsh3312](https://community.dynatrace.com/u/Adarsh3312)\
**Replies:** 3\
**Last updated:** [April 9, 2024, 2:30pm UTC](https://community.dynatrace.com/t/kubernetes-node-and-kubernetes-cluster-entity-type-isnodeofhost-and-isclusterofhost-is-not-coming-in-payload/44941 "2024-04-09T14:30:15Z")

</div>

I am using entity selector API to get KUBERNETES\_NODE and KUBERNETES\_CLUSTER entityType data from Dynatrace. In API documentation payload format for both entity type I can see there is attributes in “fromRelationships” …

---

## [How to get a topN CPU utilization chart for only servers with 2 CPUs?](https://community.dynatrace.com/t/how-to-get-a-topn-cpu-utilization-chart-for-only-servers-with-2-cpus/45035)

<div class="topic-metadata">

**Author:** [@crabbylou](https://community.dynatrace.com/u/crabbylou)\
**Replies:** 2\
**Last updated:** [April 8, 2024, 1:06pm UTC](https://community.dynatrace.com/t/how-to-get-a-topn-cpu-utilization-chart-for-only-servers-with-2-cpus/45035 "2024-04-08T13:06:07Z")

</div>

I am fairly good at using the V2 API for extracting statistics, but here is one question that I need help on. How can I enhance a normal topN query for servers to only include server entities with 2 CPUs? Here us my si…

[Previous page](https://community.dynatrace.com/c/platform/api/94.md?page=5)

[Next page](https://community.dynatrace.com/c/platform/api/94.md?page=7)
