but to do this I need to edit my elasticsearch.yml file, and my problem is I don't know how to edit this file if I am using Elasticsearch on Elastic cloud, anyone knows how?
Also, out of curiosity, is there any sort of query or setup that I can do to avoid having to edit elasticsearch.yml file?
You can edit elasticsearch.yml file on Elastic Cloud by entering in the page of your deployment - example https://cloud.elastic.co/region/gcp-us-west1/deployment/1b6b34............. and then in the sidebar on the left side under "Deployments" you will have your deployment name and right above the "Edit" option. Click on it and then in the "Data" of ES you click on "User setting overrides". It will show you the elasticsearch.yml file where you can edit and save the changes.
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.