Conditional views in OMS using data-flow verification

In an OMS view you can enable data-flow verification and define a query that should be executed when someone accesses the OMS website. If the query returns no data, you can display a message that informs the user that there is no data available yet. This is actually very helpful in scenarios where you install a new solution that first needs to collect data. If someone accesses the view too early it could throw some strange errors saying that some data types or properties are unknown by the workspace.

First create a new view or edit an existing one. On the tile configuration, scroll down to the data-flow verification area and enable it. Enter the query that should be executed and some meaningful text that will be shown when the query returns no data. Then save the view.

image

When you now access the OMS website and your defined query returns no data, the solution shows your text and let’s you know that it’s not ready yet to show data. You cannot drill into the tile.

image

Once the data is available, the tile will change and display the data and you will be able to click on the tile to drill into it and get to the contained views.

image

With that simple configuration, the OMS experience gets much more convenient and consistence for your Log Analytics users.

Cheers
Marcel

About Marcel Zehner

Microsoft Azure MVP
This entry was posted in Azure and tagged , , , , , , , , . Bookmark the permalink.

1 Response to Conditional views in OMS using data-flow verification

  1. Pingback: Operations Management Suite (OMS) – Tech Guide

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s