diff --git a/roles/log-collector/templates/elasticsearch/jvm.options b/roles/log-collector/templates/elasticsearch/jvm.options
index 1310fb9ca95e72a5b4b2c61b719497e4e00fc6fc..9f6a42a7048e59fa5858da47ac97e6668916be00 100644
--- a/roles/log-collector/templates/elasticsearch/jvm.options
+++ b/roles/log-collector/templates/elasticsearch/jvm.options
@@ -102,5 +102,5 @@
 #9-:-Djava.locale.providers=COMPAT
 
 # Silence annoying warning (cf. https://discuss.elastic.co/t/http-publish-host-was-printed-as-ip-port-instead-of-hostname-ip-port/170820/2)
--Des.http.cname_in_publish_address=true
+-Des.transport.cname_in_publish_address=true