If you configure Elasticsearch for access from a remote host, arbitrary code can execute. You can prevent this vulnerability.
script.disable_dynamic: true
to the
conf/elasticsearch/elasticsearch.yml file and restart the elastic-search service. To restart the service on Linux, use the command
./sm_service start smarts-elasticsearch.