Hello Jagatheesh,
Thank you for the details.
This error starts when you run out of resources, specifically, RAM for Indexer/s. It means you don’t have enough RAM available to handle the database, you need to increase the heap memory for JAVA on all the indexer nodes. Elastic recommends having up to 50% of the physical RAM assigned to the heap memory, so, if you have 16 GB of RAM on those systems, edit the /etc/wazuh-indexer/jvm.options file and change the -Xms and -Xmx values to these:
If you are already using 50% of the physical RAM for JAVA, you will need to add more RAM to the indexers or add another node to the cluster.
Then refresh the service and restart it:
This should solve the issue.