Skip to content

Default histogram query with generic data returning Error(missing) #2792

@philrz

Description

@philrz

Repro is with Zui commit de25266.

The attached video shows the import of the sample.zng data from this repo. As it shows, the default histogram is rendered with Error(missing) for all of the values. A sniff in Wireshark shows the the query being sent to the lake API from here:

const query = `${baseQuery} | ${timeField} != null | count() by time := bucket(${timeField}, ${interval}), group := ${colorField} | sort time`

Looks like this (note the undefined):

{"query":"from 'sample.zng' | ts != null | count() by time := bucket(ts, 100ms), group := undefined | sort time"}
Repro.mp4

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions