Purpose: Configure To flexibly configure search conditions for events more clearly. Solution: Editing Element;Deleting Element. - Go to the Events section.On the toolbar
In the list of folders and queries in the upper string left part of the left side of workspace click Image Removed Add query.In 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. |
- On the toolbar, click
Image Added and, in the drop-down list , select Advanced query. A query creation window will openchoose Create advanced query. - In the Name field, specify the name of the querythe form that opens, enter the query name and, if necessary, add a description.
On the Condition tab, in the Add condition drop-down list, select parameters based on which search will be performed Query tab edit the parameters used in the query. 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 Image Addedin the right upper corner of the selected parameter. - To add a parameter, in the Add condition drop-down list, choose the required parameter.
By default, added attributes are associated with conjunction operation (parameters are joined by the logical AND). To change the operation type, left-click on the icon. The icon will change to that stands for the disjunction operation (indicates logical OR). - Use Group of parameters element to separate attributes combined with conjunction operation (joined by the logical AND ) from attributes combined with disjunction operation (logical OR) joined by the logical OR (see "Advanced mode").
On the Display fields tab, select attributes whose values will be displayed for found events (see "Display fields"). To allow other users to view and edit the query, on the Access parameters tab, clear the The query is available only to the owner check box (by default, the check box is selected). - Click Save.
Example 1: If you want the System to display events: - with High violation level and the assigned policy Legal documentation;
- with the levels of violation High and Medium and the assigned policy Legal documentation and event type Stamp:
Then create a query in the advanced mode and specify two groups of parameters combined with the disjunction operation (see the picture below): - The first group of parameters contains attributes with the following values:
- Violation level - High;
- Policy - Legal documentation;
- The second group of parameters contains attributes with the following values:
- Violation level - High and Medium;
- Policy - Legal documentation;
- Event type - Stamp;
- Attributes within groups are combined with the conjunction operation.
Image Removed
Example 2: If conditions are specified for object attachments, then, for objects with several attachments, the conditions will apply the following way: - If several conditions within a group of parameters are combined by the operation of the logical “AND”, then query results will contain objects with at least one attachment that satisfies all specified conditions. In the example below, the query results will display objects with at least one attachment of PNG format whose size is between 30 and 40 MB.
Image Removed - If each condition is in a separate group of parameters and groups are combined by the operation of the logical “AND”, then query results will contain objects, for which all conditions are satisfied, but not necessarily for the same attachment. In the example below, the query results will display objects with at least one attachment of PNG format and at least one attachment whose size is between 30 and 40 MB.
Image Removed
Example 3: If you want the System to display events: - are sent within the company;
- not containing the words Client personal data in the text of the event;
- contain pass numbers:
Create a query in the advanced mode and, within one group of parameters, specify the following attributes combined with the conjunction operation (see the picture below): Recipients - *company.com;Event text - “Client personal data”; the search is performed in the All words irrespective of their order and distance between words mode and a negation parameter is applied to the attribute;Search area - “All contents of event”;Results of analysis - the text object "Pass number".
Image Removed
Additional information: Editing and deleting queries are performed by standard means: . On the Access tab, specify who can access the query and define the access rights.
| Предупреждение |
|---|
| 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 want to switch to the standard mode, then, in the Query type field, click Standard. The standard query creation mode will open. All specified parameters of the query will be saved. However, if already specified conditions can be implemented in the advanced mode only, then switching to the standard mode is unavailable. |
To edit the query, click Image Added on the toolbar. To delete the query, click Image Added . The "Примеры использования запросов" article contains examples of creating advanced queries.
|