Skip to content

ESQL: Expressions in aggregate functions #99828

@alex-spies

Description

@alex-spies

Description

It would be great to have support for expressions like

from employees | stats avg(languages + 1) by whatever_field

or simply

from employees | stats count(1) by whatever_field

Currently, this can be worked around using eval, e.g.:

from employees | eval langsplusone = languages+1 | stats avg(langsplusone) by whatever_field

Metadata

Metadata

Assignees

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions