FuseQL is a new query language to perform analytics on log events. It is meant to be a drop-in replacement for Grafana’s logQL support in Kloudfuse. In addition, it also supports more advanced operators such as anomaly detection, outlier detection, forecasting and several arithmetic and trigonometric operators.
All the various operators supported in FuseQL are documented in the following pages:
Info |
---|
Users can switch between FuseQL and logQL with a toggle button on the log analytics page. |
Query Builder
...
Log Filters
To filter out logs that you want to run your analytics query on, click (Search logs). If no filters are specified, FuseQL will consider all log lines.
...
For more information on various supported aggregation operators, refer to Aggregation Operators.
...
Groups
FuseQL also supports grouping of log lines by label and facets. Click on the by dropdown to add group by fields to your aggregation operators. By default, FuseQL groups by everythingtime buckets, and by collapsing all the columnsother labels.
...
Limit To
By default, FuseQL limits the resulting time series values to the top 10. This can be changed by editing the dropdown.
...
Below is an example of using a 1m roll up in a time range of 5m resulting in 5 buckets.
...
Functions
FuseQL supports various functions - you can choose any of the available functions by clicking on ∑
button. The list of functions supported can be broadly classified into the following three categories:
Add Query
To add a query, click (Add Query). Notice that a new query (B) appears under query (A), and it is a duplicate.
...