Custom trends NQL examples
Keeping track of execution crashes
Track the daily number of execution crashes.
Custom trend definition
Custom trend data retrieval
You can use the above trend definition, to create the following dashboard:
Compute the number of devices with crashes and the total number of devices.
Observe daily changes of the total number of crashes over the last 90 days.
Observe the total number of crashes per device platform. Include only devices with at least one crash.
Observe the total number of crashes, and the number of devices with crashes per device hardware manufacturer.
Monitoring Windows 11 migration
Track the ratio of devices with Windows 11 over time.
Custom trend definition
Custom trend data retrieval
Monitoring boot duration
Track the average boot durations for each device, to monitor the effect of implementing leaner configurations.
Custom trend definition
Custom trend data retrieval
Monitoring devices with application crashes on startup (trends with Boolean values)
Track the daily number of devices that had at least one application crash on the application startup.
Note that Custom trends do not support metrics with the Boolean data types.
Custom trend definition
The following custom trend definition saves '1' for the
true
values and '0' for thefalse
values.
The following custom trend definition saves the numbers of application crashes on application startup per device. By using
count()
instead ofdevice.count()
the system saves the numbers of application crashes, allowing for more detailed statistics upon data retrieval.
Custom trend data retrieval
Monitoring the devices with Intune certification installed (trends with the Boolean values from the remote actions)
Track daily numbers of devices with the Intune certification installed based on data obtained using remote action which returns the Boolean values.
Note that Custom trends do not support metrics with the Boolean data types.
The following trend allows to monitor the returned value without directly storing the Boolean values. It is important to include the remote action status (last_status
) in the custom trend NQL definition to distinguish successful remote action outputs equal '0' (or false
) from the unsuccessful executions with no data obtained.
Custom trend definition
Custom trend data retrieval
Monitoring CPU usage of different binary versions
Track the average CPU usage of application broken down by its versions.
Custom trend definition
Custom trend data retrieval
Last updated