If you are running ElasticSearch on a Windows Cluster you probably are using a Windows Service to run it in the background and make it start automatically at boot time.
This Windows Service feature is available out-of-the-box if you use the .zip package.
Some settings of ElasticSearch are managed as command-line arguments(e.g. the min and max memory usage). To manipulate these settings when using the Windows Service, you have to go through the ElasticSearch Windows Service Manager.
- To open the manager, go the ElasticSearch installation folder. (e.g. c:\elasticsearch-7.4.0\)
- Browse to the bin folder (where you should find a elasticsearch-service.bat file)
- Run the following command:
- elasticsearch-service.bat manager
This will open a GUI where you can manage multiple ElasticSearch settings:
Remark: Most changes will require a restart of the service.