Filtering and searching events
The Events section of the KUMA web interface does not show any data by default. To view events, you need to define an SQL query in the search field and click the button. The SQL query can be entered manually or it can be generated using a query builder.
Data aggregation and grouping is supported in SQL queries.
You can add filter conditions to an already generated SQL query in the window for viewing statistics, the events table, and the event details area:
- Changing a query from the Statistics window
To change the filtering settings in the Statistics window:
- Open Statistics details area by using one of the following methods:
- In the drop-down list in the top right corner of the events table select Statistics.
- In the events table click any value and in the opened context menu select Statistics.
The Statistics details area appears in the right part of the web interface window.
- Open the drop-down list of the relevant parameter and hover your mouse cursor over the necessary value.
- Use the plus and minus signs to change the filter settings by doing one of the following:
- If you want the events selection to include only events with the selected value, click the icon.
- If you want the events selection to exclude all events with the selected value, click the icon.
As a result, the filter settings and the events table will be updated, and the new search query will be displayed in the upper part of the screen.
- Changing a query from the events table
To change the filtering settings in the events table:
- In the Events section of the KUMA web interface, click any event parameter value in the events table.
- In the opened menu, select one of the following options:
- If you want the table to show only events with the selected value, select Filter by this value.
- If you want to exclude all events with the selected value from the table, select Exclude from filter.
As a result, the filter settings and the events table are updated, and the new search query is displayed in the upper part of the screen.
- Changing a query from the Event details area
To change the filter settings in the event details area:
- In the Events section of the KUMA web interface, click the relevant event.
The Event details area appears in the right part of the window.
- Change the filter settings by using the plus or minus icons next to the relevant settings:
- If you want the events selection to include only events with the selected value, click the icon.
- If you want the events selection to exclude all events with the selected value, click the icon.
As a result, the filter settings and the events table will be updated, and the new search query will be displayed in the upper part of the screen.
After modifying a query, all query parameters, including the added filter conditions, are transferred to the query builder and the search field.
When you switch to the query builder, the parameters of a query entered manually in the search field are not transferred to the builder, so you will need to create your query again. Also, the query created in the builder does not overwrite the query that was entered into the search string until you click the Apply button in the builder window.
In the SQL query input field, you can enable the display of control characters.
You can also filter events by time period. Search results can be automatically updated.
The filter configuration can be saved. Existing filter configurations can be deleted.
Filter functions are available for users regardless of their roles.
When accessing certain event fields with IDs, KUMA returns the corresponding names.
For more details on SQL, refer to the ClickHouse documentation. See also KUMA operator usage and supported functions.
Page top