Skip to content

[ES|QL] TS Command: Make nicer error message when trying to group on metrics #135061

@limotova

Description

@limotova

Example query

ts k8s 
| stats s = sum(rate(network.total_bytes_in)) by network.eth0.currently_connected_clients, b = bucket(@timestamp,1hour) 
| drop s, network.eth0.currently_connected_clients 
| eval b = false

This fails with Connection refused
Some queries will succeed even if you group on non-dimension fields, but it's not supported behavior, so we should have a nicer error message if someone attempts to do this

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions