Entities datasource


Use the Entities Datasource to retrieve entity model objects from OpenNMS. It currently supports alarms and nodes.

(For an example of the entities datasource in action, see Creating a Filter Panel).

Datasource queries

The behavior of this datasource changes depending on which entity is chosen. Attributes and values will change depending on the entity type.

Currently the entities datasource only allows a single target. Subsequent targets in the query editor will be ignored.

Template queries

To change the behavior of a template query, you can pass a field name to the attribute field to use as the display value of the variable.

If no attribute argument is given, the query will return the id attribute of the entity.

The default if the query field is empty is alarms() (return a list of alarm IDs).


The alarms() function will query the OpenNMS alarms ReST API.


The nodes() function will query the OpenNMS node ReST API.