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

Fetch all available properties

educampver
Dynatrace Advisor
Dynatrace Advisor

Hi,

Is it possible to fetch a specific entity's available properties with DQL?

Thanks.

2 REPLIES 2

sinisa_zubic
Dynatrace Champion
Dynatrace Champion

Hi Edu,

Just use the describe command like this, and you will get as result all potential fields

describe(dt.entity.host)

 

Best,
Sini

What I want is to list a host and all of its properties' values.  It seems like I need to specify every property in a fieldsAdd command...  There doesn't seem to be anything synonymous to

SELECT * from Hosts WHERE HostName = 'SomeServerName'

Instead, I have to know and select all of the property names ahead of time, which kind of stinks if that's the case.  Definitely would be convenient to add a wildcard feature for fields if so.

Featured Posts