Refer to this document to confirm whether this article is relevant to you.
This documentation is applicable on any Windows Server 2008, 2012, 2012 R2, 2016, 2019 - as well as Windows 10.
If you are running Elasticsearch 5.0.0 - 5.6.10, you should follow these instructions first: https://support.deskpro.com/en/kb/articles/install-elasticsearch-5616-on-windows
If you are running Elasticsearch 5.6.11 - 5.6.16, you should apply this setting.
1. Search for “Environment Variables” in the start menu and click on “Edit the system environment variables” (or go to Control Panel > System and Security > System > Advanced system settings)
![](https://support-attachments.deskpro.com/20822/20821257DNBZHTQKBZDSAGG0-image.png)
2. Click on “Environmental Variables”
![](https://support-attachments.deskpro.com/20822/20821296TQWZTCADRRTGQQW0-image.png)
3. Click on “New”
![](https://support-attachments.deskpro.com/20822/20821311JXXAAXJBDGBGJWN0-image.png)
4. For the “Variable name” enter: JAVA_TOOL_OPTIONS
For the “Variable value” enter: -Dlog4j2.formatMsgNoLookups=true
![](https://support-attachments.deskpro.com/20822/20821328PTDMQPPZZAPSXMH0-image.png)
5. Press “OK” on the Window, “OK” again, and “OK” once more, till the system properties window is closed. You can try and open this up again, to confirm the changes have applied.
6. You must restart the Elasticsearch service after applying this. Open the “Start” menu and Search for Services, Open “Services”
![](https://support-attachments.deskpro.com/20854/20853409ZCAPZWTRRNMPQMA0-image.png)
If you are not sure, restart all of the Elasticsearch services. This is the only way to apply the above patch.
![](https://support-attachments.deskpro.com/20854/20853448ATKRXZJDHXMXYDJ0-image.png)
Additional step: (Not Required, but recommended) Disable the previous services entirely. Right click on the defunct services, and select properties.
Ensure the old services are both stopped, and the Startup type is set to disabled. You will get a warning from the Deskpro Manager that some services are not working, this can be ignored.
![](https://support-attachments.deskpro.com/20854/20853465AQATYSZMRWJPMAK0-image.png)
Ny kommentar
Logg på for å registrere eller sende inn en kommentar.