Skip to main content
Version: 2.6

Filters

The [Configuration > Favorites > Filters] menu can be used to edit and store favorite Filters (Queries).

Frequently used filters/queries can be saved in the system and then opened via the Search Bar, with the Favorite Filters pop-up menu. image-20231031095928004

Additionally to the filters created by the user, the System includes ready-made, built-in filters created by the specialists of Sycope. They can be accessed from the System favorites section in the Favorite Filters pop-up menu.

image-20231031100206486

A list of all the built-in filters in the System is located in the Build-in filters table.

In the [Configuration > Favorites > Filters] menu, you can find a table with a list of user-created filters.

image-20231031115104087

The table includes the following columns:

  • Name - name of the filter
  • Description - a short description of the filter
  • Source - the source of data / data stream used by the filter
  • Query - query in the NQL language
  • Created By - name of the user who created the filter
  • Creation Time - date of the creation of the filter by the user
  • Modified By - name of the user who last modified the filter
  • Modification Time - date of the last modification
  • Tags - assigned tags
  • Action - available actions
    • Edit - filter editing button
    • Delete - filter deletion button

Creating a filter via the [Configuration > Favorites > Filters] menu

In order to create a filter in the [Configuration > Favorites > Filters] menu, you must use the Add filter button.

image-20231031121744904

In the filter creation window, the following fields need to be filled out:

  • Name - name of the filter
  • Description - a short description
  • Source - the data stream used by the filter
  • Query - query in the NQL language
  • Tags - tags assignment

Example

As an example, create a filter that will use the testdata stream to filter people aged 22. Initially, fill out the Name and Description fields.

image-20231031122511571

Now, select the testdata stream.

image-20231031122606451

In the Query field, type the age=22 phrase (during the typing, the system will suggest the commands/expressions. You can find more information on the NQL in the NQL User Manual document, as well as the entire NQL section of the documentation).

image-20231031123105433

Next, you can (while it is not obligatory) assign a tag to the filter, while in this example, the Test data tag has been assigned. A complete filter looks like this:

image-20231031123536143

After saving the filter, it will be placed in the filter table, as well as in the pop-up menu in the Search bar in the Favorites section.

image-20231031123705125

image-20231031123908235

In order to use a filter you can, for example, in the [Raw Data] menu select the stream for which the filter has been created (in this example, it is the testdata stream). Then, select in the menu the time range appropriate for the given stream - in the case of the testdata stream, the data has a timestamp of 01.01.2023 - 01.02.2023.

image-20231031124529685

Then, from the Favorite filters menu in the Search Bar, select the created filter.

image-20231031124746576

The filter has been saved into the Search Bar, and the table will now display the data only of people aged 22.

image-20231031124950916

A favorite filter can be created and deleted also from the level of the Search Bar. Basing on the previous example, create a filter for the testdata stream that will display only people in the age of 22. For this purpose, you can, for example, use the [RAW Data] menu and select the testdata stream, as well as an appropriate time range (see example above).

image-20231031125923770

Next, you must enter the filtering expression in the Search bar. You can do this in two ways:

  • The first method

    In the table, locate the value of 22 in the age column and by pointing it with your mouse push the plus button to add it to the filter in the Search Bar.

    image-20231031130303310

    image-20231031130359439

  • The second method

    Go into advanced mode of the Search bar (you can find the documentation of the Search bar here: Search bar documentation)

    image-20231031130711743

and then manually type in the value of the expression that constitutes the filter in the Search bar, which in this case is age=22

image-20231031130824308

image-20231031130913904

For a filter created in such a way (regardless of whether it was the first or the second method) to be added to the Favorite Filters, you must use the image-20231031131116438 icon in the Search bar.

image-20231031131242768

image-20231031131326466

Then, fill out the appropriate fields just as in the method explained earlier for entering the filter from the [Configuration > Favorites > Filters] menu.

image-20231031131549593

After clicking on the Create button, the filter will appear in the Favorite Filters menu, as well as in the list of filters in the table of the [Configuration > Favorites > Filters] menu.

image-20231031131802390

At the same time, the icon in the task bar will change its status and clicking it means to delete/remove the filter.

image-20231031131944294

Therefore, the Favorite Filter can be removed from the level of the Search Bar with the use of this icon, as well as in the [Configuration > Favorites > Filters] menu by using the Delete button located in the table, in the Action column.

image-20231031132321834