Functions in Log Analytics
Add function
-
Turn on the Use KfuseQL toggle.
-
To add a new function to the graph, click the
(Sigma) icon at the end of the query specification.
-
In the drop-down, either search for a function name, or select an existing function category, and then pick the function name.
See the list of functions for log analytics, FuseQL.
Here, we demonstrate the Algorithm: Anomalies function.
-
Configure the parameters of the function, if any.
In the query specification, specify the agile-robust algorithm.
-
In the
(by) clause of the aggregation, select how to group data.
Here, group by label label:value pair
Core:level
. -
The interface displays the anomaly detection function.
-
[Optional] You can Use the legend at the bottom of the chart to see both the Warning and Info time series, only the Warning, or only the Info.
-
Warning and Info
-
Warning
-
Info
-
Remove function
Sometimes, you may want to remove a function from a graph. For example, you may want to remove the default aggregation, as described in Remove aggregation.
At other times, you may want to remove a limiting function.
-
To remove a function, click
(Remove function) icon, next to the function you want to drop.
-
The interface displays the graph without that function.