# How to remove discovery.zen.ping.unicasts completely

**URL:** <https://discuss.elastic.co/t/how-to-remove-discovery-zen-ping-unicasts-completely/306344>\
**Category:** Elasticsearch\
**Created:** [June 3, 2022, 4:22pm UTC](https://discuss.elastic.co/t/how-to-remove-discovery-zen-ping-unicasts-completely/306344 "2022-06-03T16:22:50Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![garry12](https://avatars.discourse-cdn.com/v4/letter/g/ac8455/32.png) [@garry12](https://discuss.elastic.co/u/garry12)\
**Post date:** [June 3, 2022, 4:22pm UTC](https://discuss.elastic.co/t/how-to-remove-discovery-zen-ping-unicasts-completely/306344/1 "2022-06-03T16:22:50Z")

</div>

I am running a Elasticsearch 7.2 version and I had a property defined in my Elasticsearch.yml file that is - _**discovery.zen.ping.unicast.hosts: [IP1, IP2....]**_  
but obviously when I read the documentation I see that this _ **discovery.zen.ping.unicast.hosts:** _ property is not supported any more starting elasticsearch7.x and have been replaced with _**discovery.seed\_hosts:[IP1, IP2]**_ so I did that change today and restarted the nodes and the cluster came up green in health with no problems however when I hit cluster settings API that is -  
[http://localhost:9200/\_cluster/settings?pretty&include\_defaults](http://localhost:9200/_cluster/settings?pretty&include_defaults)  
I have commented the _ **discovery.zen.ping.unicast.hosts:** _ completely and only has _ **discovery.seed\_hosts** _ in my Elasticsearch.yml  
I still the ZEN property nested inside discovery ( on 4/5th line below response from cluster setting api ) so I wanted to know how can I completly remove zen or what am I doing wrong here, sorry I am new to ES so maybe you guys notice anything or should be able to help me out. Thanks in advance!! ` "discovery" : {`  
` "seed_hosts" : [`  
` IP1,`  
` IP2,...`  
` ],`  
` "unconfigured_bootstrap_timeout" : "3s",`  
` "request_peers_timeout" : "3000ms",`  
` "zen" : {`  
` "commit_timeout" : "30s",`  
` "no_master_block" : "write",`  
` "join_retry_delay" : "100ms",`  
` "join_retry_attempts" : "3",`  
` "ping" : {`  
` "unicast" : {`  
` "concurrent_connects" : "10",`  
` "hosts" : [],`  
` "hosts.resolve_timeout" : "5s"`  
` }`  
` },`  
` "master_election" : {`  
` "ignore_non_master_pings" : "false",`  
` "wait_for_joins_timeout" : "30000ms"`  
` },`  
` "send_leave_request" : "true",`  
` "ping_timeout" : "3s",`  
` "bwc_ping_timeout" : "3s",`  
` "join_timeout" : "60000ms",`  
` "publish_diff" : {`  
` "enable" : "true"`  
` },`  
` "publish" : {`  
` "max_pending_cluster_states" : "25"`  
` },`  
` "minimum_master_nodes" : "-1",`  
` "unsafe_rolling_upgrades_enabled" : "true",`  
` "hosts_provider" : [],`  
` "publish_timeout" : "30s",`  
` "fd" : {`  
` "connect_on_network_disconnect" : "false",`  
` "ping_interval" : "1s",`  
` "ping_retries" : "3",`  
` "register_connection_listener" : "true",`  
` "ping_timeout" : "30s"`  
` },`  
` "max_pings_from_another_master" : "3"`  
` },`  
` "initial_state_timeout" : "30s",`  
` "cluster_formation_warning_timeout" : "10000ms",`  
` "seed_providers" : [],`  
` "type" : "zen",`  
` "seed_resolver" : {`  
` "max_concurrent_resolvers" : "10",`  
` "timeout" : "5s"`  
` },`  
` "find_peers_interval" : "1000ms"`  
` },`

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [June 3, 2022, 4:22pm UTC](https://discuss.elastic.co/t/how-to-remove-discovery-zen-ping-unicasts-completely/306344/2 "2022-06-03T16:22:50Z")

</div>

Elasticsearch 7.2 is [EOL](https://www.elastic.co/support/eol) and no longer supported. Please upgrade ASAP.

(This is an automated response from your friendly Elastic bot. Please report this post if you have any suggestions or concerns :elasticheart: )

---

<div class="post-metadata">

**Author:** ![DavidTurner](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/davidturner/32/22453_2.png) [@DavidTurner](https://discuss.elastic.co/u/DavidTurner)\
**Post date:** [June 4, 2022, 10:11am UTC](https://discuss.elastic.co/t/how-to-remove-discovery-zen-ping-unicasts-completely/306344/3 "2022-06-04T10:11:08Z")

</div>

These settings are still there in 7.x for compatibility reasons. To remove them completely, upgrade to 8.x.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [July 2, 2022, 10:11am UTC](https://discuss.elastic.co/t/how-to-remove-discovery-zen-ping-unicasts-completely/306344/4 "2022-07-02T10:11:45Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
