Hello,
I would like to have in a dashboard a list of services and their respective alarm status. Also, I want to show only the services that are under a certain selected view.
Is there a way to achieve this? I found that GQI queries allow filtering services but I couldn't find a filter for the parent view, nor a way to select the current alarm status of the services.
Hi Sebastian,
Sounds like a classic use case for GQI. We don't have all pieces for this puzzle just yet, but we're already able to list all services in a certain view using the following query:
Some explanation:
- We can fetch the view relations by enabling the 'GenericInterface' soft launch option. This data source contains a row for each parent-child relation (note that you can also fetch recursively).
- Filtering this data source on the view we're interested in will contain a row for each item in that view. Note that this contains elements, services and other views.
- We can join this result onto the services data sources (note that we still need to construct the correct ID format since that's not yet available for services). The join condition will make sure that only the services will remain in your data set.
The only thing that is still missing here is the alarm state. This is something that still needs to be added. Please create a new task for this if you'd also like to see this implemented.