cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Connecting DT to PowerBI (Retrieving DQL Data)

Kris_T
Visitor

We are trying to connecting Dynatrace to PowerBI. We want to run DQL Query and have the results in PowerBI, so we can use: DQL queries via API: https://www.dynatrace.com/support/help/shortlink/ba-api-ingest#dql-via-api

But this is a POST Method and not a GET. I have worked with a colleague and we can authenticate with Tokens for the classic platform APIs and use PowerBI/Excel to integrate with the methods mentioned here and in the Dynatrace and PowerBI (YT Video).

I see something similar, but not the same, this is more of RFE (Grail to PowerBI Connector)

How can we connect from PowerBI/Excel to DT, to retrieve DQL Response using the DQL API (POST Method)

4 REPLIES 4

AntonPineiro
DynaMight Leader
DynaMight Leader

Hi,

Do you know if you token has "Read logs (logs.read)" permission?

I would check Log Monitoring API.

Best regards

❤️ Emacs ❤️ Vim ❤️ Bash ❤️ Perl

I have read logs permission 
I have client token for OAuth and Token ID for API V2 when using token ID method for getting logs using Get method i am getting Error Token Authentication failed Token Authentication failed

and got stuck,  Since i am new using API's i don't know how to generate bearer token 

Hi,

For me, easier way is from here:

AntonPineiro_0-1697117282591.png

You can create your token there and play with Dynatrace API Explorer.

Best regards

❤️ Emacs ❤️ Vim ❤️ Bash ❤️ Perl

radek_jasinski
DynaMight Guru
DynaMight Guru

Remember also to select the appropriate scope of such a token:

https://www.dynatrace.com/support/help/shortlink/api-authentication#token-scopes

Have a nice day!