# Infrastructure hostname change

**URL:** https://discuss.elastic.co/t/infrastructure-hostname-change/161886
**Category:** Kibana
**Created:** [December 21, 2018, 6:31pm UTC](https://discuss.elastic.co/t/infrastructure-hostname-change/161886 "2018-12-21T18:31:28Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![rayl7786](https://avatars.discourse-cdn.com/v4/letter/r/a5b964/32.png) [@rayl7786](https://discuss.elastic.co/u/rayl7786)
#### Post date: [December 21, 2018, 6:31pm UTC](https://discuss.elastic.co/t/infrastructure-hostname-change/161886/1 "2018-12-21T18:31:28Z")

</div>

Does anyone know how to override what the infrastructure hostname displays as? It does not take the name specified for the filebeat or metricbeat shipper. My production and DR server have the same hostname but I want to be able to separate them in the infrastructure

---

<div class="post-metadata">

### Author: ![spalger](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/spalger/32/14092_2.png) [@spalger](https://discuss.elastic.co/u/spalger)
#### Post date: [December 21, 2018, 11:53pm UTC](https://discuss.elastic.co/t/infrastructure-hostname-change/161886/2 "2018-12-21T23:53:23Z")

</div>

Are your production and DR server on the same hardware? I'm pretty sure the hostname displayed in the infrastructure are based on the actual machine they run on... (also, not sure what a "DR server" is)

---

<div class="post-metadata">

### Author: ![simianhacker](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/simianhacker/32/3383_2.png) [@simianhacker](https://discuss.elastic.co/u/simianhacker)
#### Post date: [December 26, 2018, 3:55pm UTC](https://discuss.elastic.co/t/infrastructure-hostname-change/161886/3 "2018-12-26T15:55:39Z")

</div>

You can change the field via `xpack.infra.sources.default.fields.host`. Just for your reference, there is a PR ([https://github.com/elastic/kibana/pull/26579](https://github.com/elastic/kibana/pull/26579)) that will add documentation for this that should be merged after the first of the year.

---

<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: [January 23, 2019, 3:55pm UTC](https://discuss.elastic.co/t/infrastructure-hostname-change/161886/4 "2019-01-23T15:55:44Z")

</div>

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