elastic / kibana

Your window into the Elastic Stack
https://www.elastic.co/products/kibana
Other
19.71k stars 8.13k forks source link

[Lens] Allow histograms on histogram fields #112391

Closed flash1293 closed 7 months ago

flash1293 commented 2 years ago

Depends on https://github.com/elastic/kibana/issues/112390

Once it's possible to create histogram aggregations on histogram fields, this should be allowed in Lens as well.

elasticmachine commented 2 years ago

Pinging @elastic/kibana-vis-editors (Team:VisEditors)

timductive commented 1 year ago

@simitt can you explain a use-case for this in Lens? We are currently thinking that this is an advanced feature for a Vega visualization as the current histogram field would be difficult to support and explain to users in Lens.

jindrichpilar-kosik commented 1 year ago

Hi, I am not associated with the OP, but one use-case could be OpenTelemetry histogram metric.

We have a metric of type histogram, it is ingested as field of type histogram in Elasticsearch, but we cannot aggregate and visualize it.

edit: For example how many products are displayed on search result page. Application is adding to OpenTelemetry metric (in app memory), every minute it is sent to Elasticsearch via OTEL protocol.
I want to visualize the distribution of number of products in the last hour.

stratoula commented 7 months ago

Duplicate of https://github.com/elastic/kibana/issues/112390