Live Dashboards NQL examples

This list of NQL query examples is designed to help you create Live Dashboards widgets. Go through the queries below and pick the one most similar to the widget you would like to create and the information that you want to display. Copy the query and adjust it to your use case.

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

chevron-rightNQL structurehashtag

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

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

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?