From caf1304ee4de856c87b9b6c30038e05f1ae9718f Mon Sep 17 00:00:00 2001 From: Aliaksandr Valialkin Date: Thu, 2 May 2024 12:07:29 +0200 Subject: [PATCH] wip --- docs/VictoriaLogs/LogsQL.md | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/docs/VictoriaLogs/LogsQL.md b/docs/VictoriaLogs/LogsQL.md index b65695459..04b595503 100644 --- a/docs/VictoriaLogs/LogsQL.md +++ b/docs/VictoriaLogs/LogsQL.md @@ -1131,11 +1131,10 @@ error | stats by (namespace) LogsQL will support calculating the following additional stats based on the [log fields](https://docs.victoriametrics.com/VictoriaLogs/keyConcepts.html#data-model) and fields created by [transformations](#transformations): -- The avg for the given field. - The median and [percentile](https://en.wikipedia.org/wiki/Percentile) for the given field. It will be possible specifying an optional condition [filter](#post-filters) when calculating the stats. -For example, `sumIf(response_size, is_admin:true)` calculates the total response size for admins only. +For example, `sum(response_size) if (is_admin:true)` calculates the total response size for admins only. It will be possible to group stats by the specified time buckets.