# How to change Fleet server's Elasticsearch url?

**URL:** <https://discuss.elastic.co/t/how-to-change-fleet-servers-elasticsearch-url/377415>\
**Category:** Elastic Agent\
**Tags:** fleet\
**Created:** [April 23, 2025, 4:39am UTC](https://discuss.elastic.co/t/how-to-change-fleet-servers-elasticsearch-url/377415 "2025-04-23T04:39:15Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![kevinlin](https://avatars.discourse-cdn.com/v4/letter/k/57b2e6/32.png) [@kevinlin](https://discuss.elastic.co/u/kevinlin)\
**Post date:** [April 23, 2025, 4:39am UTC](https://discuss.elastic.co/t/how-to-change-fleet-servers-elasticsearch-url/377415/1 "2025-04-23T04:39:15Z")

</div>

```auto
sudo elastic-agent inspect
...omit...
fleet:
access_api_key: omit
agent:
  id: omit
enabled: true
host: localhost:8221
hosts:
- https://192.168.0.11:8220
protocol: https
proxy_disable: true
server:
  host: 0.0.0.0
  internal_port: 8221
  output:
    elasticsearch:
      hosts:
      - 192.168.0.12:9200
...omit...

```

I have changed the IP address of Elasticsearch and added two new Elasticsearch servers.  
How to update Fleet server's Elasticsearch IP as...

```auto
    elasticsearch:
      hosts:
      - 10.0.0.12:9200
      - 10.0.0.13:9200
      - 10.0.0.14:9200

```

I have changed outputs from [https://kibana:5601/app/fleet/settings](https://kibana:5601/app/fleet/settings), but it doesn't work.

---

<div class="post-metadata">

**Author:** ![MichelLaterman](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/michellaterman/32/110221_2.png) [@MichelLaterman](https://discuss.elastic.co/u/MichelLaterman)\
**Post date:** [April 23, 2025, 4:24pm UTC](https://discuss.elastic.co/t/how-to-change-fleet-servers-elasticsearch-url/377415/2 "2025-04-23T16:24:54Z")

</div>

Hi Kevin,

Can you provide the logs from the instance or a diagnostics bundle?
