Purpose: Create a query to search for events which satisfy specified conditions. Solution: - Go to the Events section.
In the list of folders and queries in the left part of the workspace, choose where to create a query. You can create a query in the root or inside an existing folder with queries. | Информация |
|---|
| If you do not have sufficient rights to create items within a selected folder, a warning will be displayed. In this case, you should choose another location for the query. |
- Click
and, in the drop-down list, choose Create standard query. - In the form that opens, enter the query name and, if necessary, add a description.
- On the Query tab, edit the query parameters. By default, the most commonly used parameters are displayed. For parameters that you need, specify the required values in the entry fields. To remove parameters that you do not want to use in the query, click
in the right upper corner of the selected parameter. - To add a parameter, in the Add condition drop-down list, choose the required parameter (for the whole list of available parameters, see "Condition").
- On the Columns tab, select attributes whose values will be displayed for the found events.
On the Access tab, specify who can access the query and define the access permissions. | Предупреждение |
|---|
| If you create a query in a folder with the Apply rights for related queries option enabled, then access rights for the query will be the same as for the folder. In this case, editing access right to the query is unavailable. |
To specify access rights to the query: Find the required users in the list. | Подсказка |
|---|
| To find users in the list, use the Search field. |
- Next to the user name, set the checkbox in one of the fields:
- View and execute access - to provide the user access for viewing, copying, and executing the query;
- Full access - to provide the user full access to the query.
| Информация |
|---|
| To provide access to the query to all users of the System, set a checkbox in the field with the required access level next to the All users value. |
Click: - Save - to save the query;
- Save and execute - to save and run the query.
| Подсказка |
|---|
| If while creating a query, you find out that you need to specify more flexible conditions, you can use the advanced mode. For this, in the Query type field, click Advanced. The advance query creation mode will open. All specified parameters of the query will be saved. |
To edit the query, click on the toolbar. To delete the query, click . The "Examples of using queries" article contains an example of creating a simple query. |