I'm upgrading elasticsearch cluster from 5.x to 7.0. I have setup a 7.0.0 cluster and then reindexed data from 5.x cluster. And then exported all the saved objects from old cluster to new one.
post this, I'm getting error of 'x of y shards failed' when trying to view some visualisation or search on some indexes.
There's nothing about this failure on elasticsearch logs. So how should i fix this error?
Can somebody help me with this? There's nothing in elasticsearch logs. And all shards are 'green' clsuter status is green. I don't know how to proceed with this.
Ordinarily our upgrade procedures are designed to take you from the last minor release of a major to the next major e.g 6.7 to 7. I suspect this is an issue with the format of the saved 5.x kibana visualisations and the format required by 7. Probably best to ask in the Kibana forum
Yes I'll ask it in Kibana forum too. But this problem is happening on 'Discover' tab too. That's what led me think that it might be an elasticsearch issue too.
What do you think about shard failure problem showing up on 'Discover' tab?
I'm running both Elasticsearch and kibana in docker containers. So i'm checking docker logs of those containers. Is there anywhere else I can get the info about these failures?
It’s possible to change logging levels to see if that helps but I think my next step would be to simplify to the smallest reproducible example eg first try take Kibana out of the equation and run the query it runs via curl. Then reduce the number of indices you’re searching and then number of query clauses etc
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.