Kibana offloads timezone calculations to elasticsearch. #10787
Labels
bug
Fixes for quality problems that affect the customer experience
Feature:Visualizations
Generic visualization features (in case no more specific feature label is available)
Kibana version: 5.2.2
Elasticsearch version: 5.2.2
Server OS version: Debian Jessie
Browser version: Chrome 57
Browser OS version: macOS 10.12.3
Original install method (e.g. download page, yum, from source, etc.): Image from Docker hub
Description of the problem including expected versus actual behavior:
I have a daily index that is currently (1800UTC) at ~2B documents. I want to open Discover tab in Kibana with 12h, but request times out. It's because Kibana decides that calculating timezones for 1.47B docs should happen before bucket assignment in the following aggregation:
Timings:
I think it's more reasonable to assume that resulting buckets have much smaller cardinality (less than 1.5B buckets) and it's cheaper to do timezone calculations on them, not on the docs.
Not sure if elasticsearch or kibana should do that.
The text was updated successfully, but these errors were encountered: