24 Sep 2025 06:35 PM
I know if I just start typing dt.entity. the auto-complete in the DQL query box will offer suggestions, but I want to be able to just get a list of all dt.entity.f5 types in a table.
The result I want would look like:
EntityTypeName
dt.entity.f5:gtm:pool
dt.entity.f5:gtm:virtual_server
dt.entity.f5:pool
and so on
Is this possible in Grail? If so, how would that query look?
Solved! Go to Solution.
24 Sep 2025 06:51 PM
Within 2 minutes of submitting this question I found the answer myself!
The answer is yes, there is a way to do this!
fetch dt.system.data_objects
| filter matchesValue(name, "dt.entity.f5*")
You can use that and replace the filter name value with whatever you want to get a list of current entities.
P.S. to Dynatrace Community website devs. You should really add DQL/DPL in as valid languages for the "Insert/Edit code sample" formatting boxes on this site! Would be really cool to have proper highlighting when people share those snippets!