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

Problem Direct Link

MarwanC
Advisor

 

I have the following URL which when I click on it it takes me directly to the problem 

https://{environmentid}.apps.dynatrace.com/ui/apps/dynatrace.davis.problems/problem/-849193811239885...

I need to find out given a problem ID which I already obtained using DQL, how can I obtain the stringID shown above

in order to concatenate to URL to send me direct to the problem in my Dashboard

I appreciate your support on this simple but internal GUI and not documented info

Marwan...

 

5 REPLIES 5

AntonPineiro
DynaMight Guru
DynaMight Guru

Hi,

You need to know "tenant_id" and "problem_id". I think you already know your tenant id.

"-849193811239885170_1756729427080V2" if problem_id in your URL.

Just be sure, problem_id is using that format, it means, it is not visual id as "P-XXXXXX".

Best regards

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

p_devulapalli
Leader

@MarwanC You can try the below , it will take you directly to problem in new app from dashboard ProblemID

| fields ProblemID = concat("[", display_id, "](", $tenant, "/ui/apps/dynatrace.davis.problems/problem/", event.id, ")"),

 

Phani Devulapalli

 

 

Thanks p_devulapali

Indeed this does work, I share code fragment this if you want to the add the URL in your DQL

| fieldsAdd problem_url=concat("https://{environmentid}.apps.dynatrace.com/ui/apps/dynatrace.davis.problems/problem/", event.id)
| fieldsAdd url=if(isNotNull(right.status),problem_url, else: "" )

 

However, one minor hickup remains, in my table it all looks fine but I need the url so that it is clickable and once user click on it it them ut takes them direct to the problem, I am not sure if html is supported inside a table in the dashboard? will check

 

 

For that you have to add the link with markdown syntax as in the example submitted by @p_devulapalli and then set the table column type as markdown

GerardJ_0-1756800254026.png

 



Gerard

MarwanC
Advisor

It worked like a charm Gerard thanks. it did not know tables can also have markup.

Featured Posts