Released at 2024-05-30
-
FEATURE: add
row_anyfunction forstatspipe. This function returns a sample log entry per every calculated group of results. -
FEATURE: add
defaultoperator tomathpipe. It allows overridingNaNresults with the given default value. -
FEATURE: add
exp()andln()functions tomathpipe. -
FEATURE: allow omitting result name in
mathpipe expresions. In this case the result name is automatically set to string representation of the corresponding math expression. For example,_time:5m | math duration / 1000is equivalent to_time:5m | math (duration / 1000) as "duration / 1000". -
FEATURE: allow omitting result name in
statspipe. In this case the result name is automatically set to string representation of the corresponding stats function expression. For example,_time:5m | count(*)is valid LogsQL query now. It is equivalent to_time:5m | stats count(*) as "count(*)". -
BUGFIX: properly calculate the number of matching rows in
* | field_values x | stats count() rowsand in* | unroll (x) | stats count() rowsqueries.