KQL Extensions
Understand Cribl KQL extensions and variations from the Kusto language.
Cribl Search KQL is built on top of the Microsoft Kusto Query Language, with additional extensions and operators.
This page lists known areas where Cribl KQL operators, functions, and types differ from their similarly named Kusto counterparts.
These differences might require changes when you programmatically manage Cribl Search using API requests (or other automation) that was originally written around those Kusto counterparts.
The
dayofweek
function returns an integer between0
and6
, representing the day of the week, beginning on Sunday. This differs from the standard Kustodayofweek
function, which returns a timespan.The
make_timespan
function converts the specified time period into a number of seconds. This output format differs from the standard Kustomake_timespan
function, which returns a timespan.The
timespan
data type represents a time interval, in seconds. This representation differs from the standard Kustotimespan
type, which represents a literal timespan.The
totimespan
function converts the input expression into a time interval, in seconds. This output format differs from the standard Kustototimespan
function, which returns a timespan.The
tostring
function, when applied to anull
input value, returnsnull
. This output format differs from the standard Kustotostring
function, which returns an empty string fornull
values.