Build a query using the query window tools
The query window toolbar include quick accesses to all these groups of operations for data querying.
Operations over columns window
The Operations Over Columns window opens when you select one of the operations above mentioned. This is where you define the required function and select the arguments needed for your query.
- The Create Column and Aggregate Function tabs contain the same fields. Both types of operations create a new column to contain the results of the selected operation performed on the selected argument(s). For example, the capture below shows an aggregation that will add a new column called HTTPrequests and will contain the count of grouped values in the user column.
- The Filter Data and Or tabs contains different fields and options because a filter does not add a column, rather the results of the selected operation performed on the selected argument(s) will be the inclusion or exclusion of rows from the query data. For example, the capture below shows a filter that will exclude (negated) records that contain a value in the countMethod column that is less than or equal to 150.
- The Group by tab contains a selector where you can choose the time period by which you want to group your data. Besides, you can also select No temporal if you don't want to group by time. In the capture below we are grouping the data in the uri and method columns every 15 minutes.
In most of the tabs, you need to select an Operation from the drop-down list, then click New Argument to activate the field where you identify the necessary arguments. These two fields are interdependent. That is to say, the system will automatically validate or reject certain arguments based on the operation you have selected. Similarly, the system will identify valid operations in green and invalid operations in orange based on any arguments you have selected. For example, the capture below shows that for the selected argument eventdate, the operations that can be performed on that type of field are in green, while the invalid operations are shown in orange.
Each operation requires a specific number or type of argument(s) (columns). In some cases, you can also enter free text as an argument selecting this icon.
For more information about an operation's requirements, click the info icon next to the Operation field as shown below.
- The name, group and description of the operation selected.
- The format of the operation. This operation has only one format, but some others accept different combinations, which are always indicated here (e.g. the Rounding operation has two different formats: round(arg_1) → result and round(arg_1, arg_2) → result). You can also check the number of arguments needed (in this case 2) and the required format of the data you link to each argument (string, integer, float...).
- Some specific examples of the operation.
- In case you have too many or not enough arguments, the system will automatically send you a warning message.
- In case you have not chosen the proper arguments, the system will automatically notify you.
Learn more about how to apply each specific operation using the query window tools in the following articles.