Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Note that if you have not created any custom queries, selecting the Queries tab will transfer you to the Queries screen. The Queries screen enables creating, previewing, editing, saving, and deleting custom analytics queries. You can also filter custom queries. To access the Queries screen from the Queries Overview screen, click the Plus icon or click on a custom query tile. To navigate from the Queries screen to the Queries Overview screen, select All Queries from the Saved Queries drop-down menu.

...

  1. Select Basic.
  2. For Match, select either All or Any.
  3. Click the Plus icon to add a filter.
  4. Select the type of filter. The type of filter drop-down menu selections are:
    • Custom - If selected, enter the custom field information.
    • Event
    • Application
    • Platform
    • Environment
    • Country
    • Session
    • Session Length
  5. Select a filter operand. The filter operand selections are:
    • Equals
    • Not
    • Starts with
    • Ends with
    • Greater than
    • Greater than or equal to
    • Less than
    • Less than or equal to
  6. Complete the operand field or make a selection from the drop-down menu. The selections are based on the selected filter type. To fetch the available field selections over the selected time range, click the Magnify icon.
  7. (Optional) To add additional filters, click the Plus icon.
  8. (Optional) To save the configured filtering as part of the a custom query, click Save.

Advanced Filtering

To configure advanced filtering:

  1. Select Advanced.
  2. Enter a JSON coded filter in the code field. Note that the code field will be highlighted unless valid filter code is entered.

  3. (Optional) To add additional filters, click the Plus icon.
  4. (Optional)

    For example, to create a filter to match application installation in the production environment, enter the following code in the field:

    Code Block
    languagejs
    {
        "$match": {
            "event": "app.install",
            "distribution.environment": "production"
        }
    }
  5. To save the configured filtering as part of

    the

    a custom query, click Save.

Delete Filters

To delete a filter, select the Delete icon associated with the filter to delete.