# Is there a way to specify the NIC for output?

**URL:** <https://discuss.elastic.co/t/is-there-a-way-to-specify-the-nic-for-output/215913>\
**Category:** Beats\
**Tags:** filebeat\
**Created:** [January 21, 2020, 4:00pm UTC](https://discuss.elastic.co/t/is-there-a-way-to-specify-the-nic-for-output/215913 "2020-01-21T16:00:35Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![austin0918](https://avatars.discourse-cdn.com/v4/letter/a/c68b51/32.png) [@austin0918](https://discuss.elastic.co/u/austin0918)\
**Post date:** [January 21, 2020, 4:00pm UTC](https://discuss.elastic.co/t/is-there-a-way-to-specify-the-nic-for-output/215913/1 "2020-01-21T16:00:36Z")

</div>

Hi There, I have two NICs on a Linux server. Is there a way to specify which NIC to use by Filebeat for logstash output?

---

<div class="post-metadata">

**Author:** ![jsoriano](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/jsoriano/32/27920_2.png) [@jsoriano](https://discuss.elastic.co/u/jsoriano)\
**Post date:** [January 21, 2020, 4:23pm UTC](https://discuss.elastic.co/t/is-there-a-way-to-specify-the-nic-for-output/215913/2 "2020-01-21T16:23:09Z")

</div>

Hey @austin0918,

Filebeat doesn't have an option for that. Could you maybe try to configure a route in your machine so all the traffic to Logstash uses the same interface?

---

<div class="post-metadata">

**Author:** ![austin0918](https://avatars.discourse-cdn.com/v4/letter/a/c68b51/32.png) [@austin0918](https://discuss.elastic.co/u/austin0918)\
**Post date:** [January 21, 2020, 4:32pm UTC](https://discuss.elastic.co/t/is-there-a-way-to-specify-the-nic-for-output/215913/3 "2020-01-21T16:32:14Z")

</div>

Thank you Jsoriano.

---

<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:** [February 18, 2020, 4:32pm UTC](https://discuss.elastic.co/t/is-there-a-way-to-specify-the-nic-for-output/215913/4 "2020-02-18T16:32:21Z")

</div>

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