When constructing a filter, you can use a subquery element
to make a query in a condition.
The subquery element can be used to query and return results of
data that is stored in the following ObjectServer
alerts database
tables:
- alerts.details: This table holds event details, and is linked
to the alerts.status table by the Identifier column.
- alerts.journal: This table holds a history of work performed on
events, and is linked to the alerts.status table by the Serial column.
- alerts.status: This table holds status information about problems
that have been detected by probes.
For example, you might want to look for events that have journal
entries in the alerts.journal table, or look for events that have
a particular detail attribute in the alerts.details table.
A subquery element can be followed by condition, logical, and other
subquery elements. These elements allow you to specify selection criteria
for the information from another table.