Live Dashboards NQL examples

circle-exclamation

This list of NQL query examples is designed to help you create live dashboard widgets.

KPI widget

chevron-rightNQL structurehashtag
...
summarize <kpi> = <sum() | count() | avg() | max() | min()>

Examples

chevron-rightDisplay the total web application errors during the last 7 days.hashtag
web.errors during past 7d
| summarize total_errors = number_of_errors.sum() 
chevron-rightDisplay the ratio of backend page load duration during the last 7 days.hashtag
web.page_views during past 7d
| summarize 
  backend_dur_ratio = page_load_time.backend.sum() /
  page_load_time.overall.sum()
chevron-rightDisplay the estimated savings from remote action remediation in USD.hashtag
remote_action.executions during past 30d
| where status == success
| where purpose == remediation
| summarize amt_saved = (number_of_executions.sum()) * (20)
| list amt_saved.as(format = currency,code = usd)

Line chart

chevron-rightNQL structurehashtag

Examples

chevron-rightDisplay average daily backend page load duration, client page load duration, and network duration over the last 7 days, without specifying the list line.hashtag
chevron-rightDisplay average daily backend page load duration, client page load duration, and network duration over the last 7 days, using the list line to indicate the parameters that should be included.hashtag
chevron-rightDisplay the estimated daily total energy consumption in kilowatt-hours (kWh).hashtag

Bar chart with disabled default breakdowns

chevron-rightNQL structurehashtag

In this case, as the default breakdowns are disabled, you should always specify by <segmentation1>,... in the query.

Examples

chevron-rightDisplay the number of hard resets and the number of device over the last 7 days, broken down by: platform, hardware manufacturer and model.hashtag
chevron-rightDisplay the number of web transactions by application.hashtag
chevron-rightDisplay the Internet Service Provider (ISP) count excluding unknown ISP.hashtag
chevron-rightDisplay the estimated savings in USD achieved through the workflows, categorized by each trigger method.hashtag

Bar chart with enabled default breakdowns

chevron-rightNQL structurehashtag

In this case, as the default breakdowns are enabled, you can omit by <segmentation1>,... from the query since the system defaults to the options in the breakdown dropdown.

Examples

chevron-rightNumber of web page view by default breakdown optionshashtag

Since default breakdowns are enabled, the system displays web.page_views according to the available default options in the breakdown dropdown. In this case, by: URL, Adapted type, Number of active tabs, Number of large resources, Experience level.


Single-metric gauge chart

Ratio of devices or users when there is a bad event

Create a single-metric gauge chart displaying the ratio of devices or users when there is a bad event, for example, a crash. It allows to see how devices or users are affected by the issue.

chevron-rightNQL structurehashtag

Example

chevron-rightDisplay the ratio of devices with execution crashes out of all the devices in the company.hashtag
chevron-rightDisplay only the crashes that happened while the application was running in the foreground.hashtag

Ratio of events

Display the ratio of events when there is an event such as a crash, freeze, hard reset, system reset.

chevron-rightNQL structurehashtag

Example

chevron-rightDisplay the ratio of poor quality collaboration sessions out of the total number of sessions.hashtag

Score metric

Display the DEX score metric.

chevron-rightNQL structurehashtag

Example

chevron-rightDisplay the DEX score metrichashtag

Multi-metric gauge chart

Ratio of devices or users with bad events against objects without them

chevron-rightNQL structurehashtag

Example

chevron-rightDisplay the ratio of devices with crashes against those without them.hashtag

Ratio of devices with bad events against devices without them

chevron-rightNQL structurehashtag

Example

chevron-rightDisplay the ratio of devices with hard resets against the ones without them.hashtag

Ratio of users or devices with a good state against the ones with a bad state

chevron-rightNQL structurehashtag

Example

chevron-rightDisplay the ratio of users with good page views experience against the ones with a frustrating experience.hashtag

Ratio of events with a good state against events with a bad state

chevron-rightNQL structurehashtag

Example

chevron-rightDisplay the ratio of page views with good experience against the ones with a frustrating experience.hashtag

RELATED TOPIC:

Widget types

Last updated

Was this helpful?