
Queries 91
Creating a Query in vFoglight
Combining And, Or, and Not Conditions
By using nested combinations of And, Or and Not, you can create complex conditions,
such as including a Host if:
• Its name is MainServer or SecondServer.
• There are no events under it.
The following example displays how the Where section of a query is set.
The And clause contains the Or and the Not clauses. The Or clause itself contains the
two comparison clauses, and the Not clause contains an Is Set clause.
Sequence of Evaluation
In a complex query, the selected data objects are subjected to the different parts of the
query in the following order:
1
The data objects are restricted based on Where - if present.
2
They are then sorted based on Order By - if present.
3
Some are then selected based on Filter Results Based on Top N - if present.
4
The remaining data objects are aggregated (if aggregations are present).
Note For more information about Queries, see the Web Component Tutorial.
Creating New Queries
The New Query dialog lets you create a new query or a copy of an existing query.
To create a new query:
1
Select Configuration > Definitions in the navigation panel.
Komentarze do niniejszej Instrukcji