Complete the following prerequisite before you install Elasticsearch:
Based on your EPS rate, deploy Elasticsearch in a cluster mode with the number of nodes and the number of replicas as recommended in the Technical Information for Sentinel page.
Set the file descriptors by adding the following properties in the /etc/security/limits.conf file:
elasticsearch hard nofile 65536
elasticsearch soft nofile 65536
elasticsearch soft as unlimited
NOTE:After you complete the above prerequisites, run the sysctl -p command to reload the changes made to the files.