01 Sep 2025 01:49 PM
I have the following URL which when I click on it it takes me directly to the problem
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...
Solved! Go to Solution.
01 Sep 2025 05:13 PM
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
02 Sep 2025 07:51 AM
@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, ")"),
02 Sep 2025 08:56 AM
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
02 Sep 2025 09:04 AM - edited 02 Sep 2025 09:05 AM
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
02 Sep 2025 10:42 AM
It worked like a charm Gerard thanks. it did not know tables can also have markup.