Error: Bad Gateway
at respond (http://xxx.xxx.xxx:5000/bundles/kibana.bundle.js?v=15543:13:2730)
........
Opening kibana's dashboard stopped the elasticsearch master and elasticsearch health goes from green to RED. It happens whenever the shards are more than approx 12000. Below this value dashboard works fine.
Hi @Brandon_Kobel, I have set index_number_shards and index_number_of_replicas to 1. Attached screenshot shows the details of my cluster. 1 elasticsearch master and 2 elasticsearch datanode....elasticsearch master is also act as elasticsearch datanode. Heap size for both nodes are 16g.
Thanks @Brandon_Kobel, i have set the index_number_of_shards to 1 and index_number_of_replicas to 1 at the time of installation of elasticsearch but i think it is not creating any effect on indexes. For index rollover i have configured elasticsearch curator which deletes the old indices now i have around 8000 shards but dashboard again crashing the elasticsearch master.
Hey @babarsiddique, I'd recommend opening a new topic over in the Elastisearch section asking for advice on how to collapse individual indices into fewer. 8000 shards is still a ton, and executing a search which hits all of them is bound to cause issues.
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.