# Installing Elasticsearch on 2 network interfaces

**URL:** <https://discuss.elastic.co/t/installing-elasticsearch-on-2-network-interfaces/123848>\
**Category:** Elasticsearch\
**Created:** [March 14, 2018, 7:07am UTC](https://discuss.elastic.co/t/installing-elasticsearch-on-2-network-interfaces/123848 "2018-03-14T07:07:07Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![omer](https://avatars.discourse-cdn.com/v4/letter/o/258eb7/32.png) [@omer](https://discuss.elastic.co/u/omer)\
**Post date:** [March 14, 2018, 7:07am UTC](https://discuss.elastic.co/t/installing-elasticsearch-on-2-network-interfaces/123848/1 "2018-03-14T07:07:07Z")

</div>

Hi all;

I am trying to send metrics to a machine which has 2 network interfaces with different IP address. Elasticsearch is installed on first one. I need to send data from a node on second interface via topbeat. So, I am using 2nd IP address of elasticsearch machine to tell topbeat where to send data. Topbeat is running, as elasticsearch is. Also, topbeat is on a centos linux system and elasticsearch is on a windows. However, I cannot see any data. Is it because of difference IP addresses or different OSes? How can I solve this?

Thank you.

---

<div class="post-metadata">

**Author:** ![warkolm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/warkolm/32/39224_2.png) [@warkolm](https://discuss.elastic.co/u/warkolm)\
**Post date:** [March 14, 2018, 8:44am UTC](https://discuss.elastic.co/t/installing-elasticsearch-on-2-network-interfaces/123848/2 "2018-03-14T08:44:42Z")

</div>

You should use metricbeat instead of topbeat, as it's been merged into the former.

> [@omer](#):
>
> I cannot see any data. Is it because of difference IP addresses or different OSes? How can I solve this?

What do the logs show?

---

<div class="post-metadata">

**Author:** ![omer](https://avatars.discourse-cdn.com/v4/letter/o/258eb7/32.png) [@omer](https://discuss.elastic.co/u/omer)\
**Post date:** [March 14, 2018, 9:12am UTC](https://discuss.elastic.co/t/installing-elasticsearch-on-2-network-interfaces/123848/3 "2018-03-14T09:12:21Z")

</div>

Does metricbeat solve this problem? Because, we did try both metricbeat and topbeat for collect metrics, but topbeat show us more accurate results such as memory usage. Metricbeat's results were wrong. We built an system and ELK stack is a part of it, so it is not so easy to change topbeat to metric beat but if it will solve the issue, I am gonna try. About log files, interestingly, I cannot find any log files belong to topbeat. Instead, I took a wireshark record. It shows us the packets but no data in it. It seems as a heartbeat. ☹

---

<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:** [April 11, 2018, 9:12am UTC](https://discuss.elastic.co/t/installing-elasticsearch-on-2-network-interfaces/123848/4 "2018-04-11T09:12:24Z")

</div>

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