Hi, I have a large quantity of data being indexed in elastic, is taking a long time to do it, so it is posible to disable replicas when data is being indexed to Elasticsearch? can this create any problem? it will speed up the indexing?
Assuming you have more than one data node in the cluster and a sufficient number of primary shards to spread the load it is likely to speed up indexing. This however comes at the cost of reduced resiliency and availability as data is not replicated.
Where is the data coming from ? There are a few things you can do, by setting this in an index template for example or the configuration file of say a Beats shipper (Filebeat, Auditbeat, Metricbeat etc...)
I use zero replicas on my private setup... however the observability data from me is only for "in-the-moment" mostly, so I take the risk of data loss is something happens... but also it is a single node.
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.