When I go to share a visualisation in Kibana 6.0.0 and I click the "Short URL" button, it always takes around 20-30s to generate the short URL. In Kibana 5 it was fast and snappy, but now takes ages.
The rest of Kibana is responsive and quick, but this one particular thing is extremely slow. I can see the HTTP call to the /shorten endpoint and I can see it waiting up to 30 seconds for a response.
I've searched and haven't found anyone else with this problem. Any idea why this might be taking so long?
There's 2 options for Sharing (on a Dashboard); Embedded iFrame and Link. I just tried them both on a 6.0.0 Kibana on our Cloud platform and they both completed in less than 1 sec.
Can you take a look and see if there's any logging on either Kibana or Elasticsearch that might indicate what's happening?
I would also recommend checking to see what the refresh interval is for the Kibana index.
http://localhost:9200/.kibana/_settings
Specifically index.refresh_interval. This should either not be defined or 1 (which is default). My guess is it could be set, possibly by an index template to something high, like 30 seconds.
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.