-
Notifications
You must be signed in to change notification settings - Fork 8.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Discover not showing histogram bars #52152
Comments
Pinging @elastic/kibana-app (Team:KibanaApp) |
Hi, could you please open your browsers dev tools (F12) and check if there are any errors on the "Console"? Cheers, |
@leandrojmp could you please share the the request and the response of the failing rendering call? It's available from the top left button You can omit the
Thanks |
Hello, I have more information about this issue. My computer is configured to use the So I've made a little test and changed the Kibana timezone to The gif below show this behavior, when the Kibana timezone is set to Below is the request made by kibana, I compared the request made using the Browser timezone and the one made using
|
thanks @leandrojmp, we identified the root cause and we are going to release the fix possibly on 7.5.1 |
TO REPRODUCE:
|
This commit fix the missing bars on the histogram of Discover. Discover is passing a minInterval parameter in milliseconds that is not the the minimum interval in milliseconds between the buckets. Calendar intervals are not fixed and this value change depending on time range and the time zone. To avoid patching the elastic-chart and upgrading the dependency we applied a temporary patch to the histogram code. For the feature version this patch will be removed and a correct minInterval computation will be done directly in elastic-charts. fix elastic#52152
This commit fix the missing bars on the histogram of Discover. Discover is passing a minInterval parameter in milliseconds that is not the the minimum interval in milliseconds between the buckets. Calendar intervals are not fixed and this value change depending on time range and the time zone. To avoid patching the elastic-chart and upgrading the dependency we applied a temporary patch to the histogram code. For the feature version this patch will be removed and a correct minInterval computation will be done directly in elastic-charts. fix #52152
fixed in #52758, will be released on 7.5.1 |
Updated to 7.5.1 and it is working now, thanks! |
Kibana version: 7.5.0-1
Elasticsearch version: 7.5.0-1
Server OS version: CentOS 7.6
Browser version: Chrome 78.0.3904.108
Browser OS version: Ubuntu 18.10
Original install method (e.g. download page, yum, from source, etc.): yum
Describe the bug:
I updated the stack to 7.5 from 7.4 and discover is not showing the histogram bar anymore, I've tested with a data set with timestamp dates spanning years and if the difference from the start date and the end date is wide, it will only show histogram bars when scaling on years. It worked fine on 7.4
Steps to reproduce:
Expected behavior:
Histogram bars rendered in the discover page.
Screenshots (if relevant):
The text was updated successfully, but these errors were encountered: