Error Elastisearch BootStrap Check Failed In ElasticSearch
When you will install Elasticsearch on your machine, you might be facing these Error Elasticsearch Bootstrap check failed. This is because you didn’t make some changes before installing the ElasticSearch.
Check Out : Install Elasticsearch Using Source Code
Main Issues : You will get these issues when you will install Elasticsearch without making any settings in Elasticsearch.yml
Max file descriptors  for Elasticsearch process is too low, increase to at least 
Maximum number of threads  for user [elastic] is too low, increase to at least 
Max virtual memory areas vm.max_map_count  is too low, increase to at least 
You may set these values in /etc/security/limits.conf
1. Now Increase the file Descriptions
ulimit -n 65536
if you don’t want to set it 65536, use nofile to 65536 in above file.
2. Now Set Number of threads for user
ulimit -u 4096
if you don’t want to set it 4096 user, set nproc to 2048 in above file.
3. Now Set Virtual Memory in /etc/sysctl.conf
After settings these, you need to run this command to make changes
Check Out : Error : Can’t Run Elasticsearch As Root
If above settings does not work for you, try this one and Final Settings should be looks like in /etc/security/limits.conf