Im trying to retrieve OS Services in our environment - using the example DQL from the documentation: here
I get no results.
Our OS Service monitoring is working as our monitors are alerting correctly but it would be extremely helpful if i could use DQL to find all running services on a host and their status.
using the following DQL I am able to retrieve Service Display names on a host but I cannot / dont know how to get the actual status of the service and the service name, not just the Display name, I would like to get the actual name of the windows service aswell.
fetch `dt.entity.os:service`
| fieldsAdd dt.entity.host=runs_on[dt.entity.host]
| fieldsAdd host_name = entityName(dt.entity.host) // Add the host name
| summarize host_names = collectArray(host_name), by:{id, entity.name}
Is there some setting to make dt.osservice.availabilty gather data? or am I missing something here?
