I have 3 node cluster with time series indices(per day). I have enabled allocation awareness and all nodes in AWS. Node2 is having Index1 all replica shards on it while primaries are assigned to other two nodes. when I running the search queries, Node2(Where replicas in) not involving at all. Is replica shards not using at searching time? please let me know is there any setting needs to be tweaked?
Now I can see replica is serving for the search requests slightly. I'm using 6.2.4 version. I'm having 3 Packetbeat indices and each one has 5 shards and 1 replica and each shard is 5gb of size.
Below are the CPU stats when executing search quires, I
You probably need only one shard instead of 5 per index.
Which node is used by Kibana or your application to hold the search request? I mean that you could may be use a coordinating node if you wish in front of your cluster. May be that will remove some load on one of your data nodes.
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.