Hello, I am getting the error in the screenshot, can anyone point me in the right direction to resolve this?
It's a dashboard that worked from 5.6.x to 6.0 and nothing changed, aside from the ELK version (6.2.1)
The error text did not show any hints when I searched.
Uncaught TypeError: xScale.domain(...)[1].getTime is not a function (http://10.xx.xx.171:5601/bundles/vendors.bundle.js?v=16573:6)
Error: Uncaught TypeError: xScale.domain(...)[1].getTime is not a function (http://10.xx.xx.171:5601/bundles/vendors.bundle.js?v=16573:6)
at window.onerror (http://10.16.172.171:5601/bundles/commons.bundle.js?v=16573:1:496140)
Update: I found the specific visualization that caused the error. It's a date field that I used as a bucket, but instead of data-histogam I used terms, and sorted and chose last X terms.
It always worked, not sure why it doesn't work now.
Once I changed the bucket to date histogram (it was terms) then the error was gone.
Problem solved, but I don't understand why would 6.2.1 have a problem with a bucket that is a term --> date
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.