In Foglight®, queries are the preferred method for retrieving data from a data source. For example, you can set up a query to retrieve a list of objects that represent all agent instances running in a monitored environment whose host name matches the name of a particular Host object.
Optionally, a query can search from the root, drilling down until it finds objects of the desired type. In addition, it can restrict the objects it finds using conditions (or restrict them to the first N objects), it can sort the objects, and it can aggregate the objects into maximums, minimums, averages, and other aggregates.
Just like Views, Relevant and Allowed Roles can be set on Query Definitions. These are taken into account when filtering Root Queries by role in the Data Browser and when using Create dashboard or Create report. For more information, see Roles in Query Definitions.
You begin the process of creating a query by clicking the Add button after selecting Queries in the drop-down list in the Module Contents pane. The Add Query dialog box appears with these choices:
• |
• |
• |
Derive from an Existing Query: Creates a variant of an existing query with a different name, usually to change some but not all of the original’s definition. Deriving a Query from Another Query |
NOTE: For more information about these functions, see View Commands in the Definitions Area . For more information about configuring queries, see Query Definition Settings . |
© ALL RIGHTS RESERVED. Terms of Use Privacy Cookie Preference Center