# Getting Same Logs while having different ports

**URL:** <https://discuss.elastic.co/t/getting-same-logs-while-having-different-ports/216642>\
**Category:** Logstash\
**Created:** [January 27, 2020, 10:59am UTC](https://discuss.elastic.co/t/getting-same-logs-while-having-different-ports/216642 "2020-01-27T10:59:14Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Ankita\_Pachauri](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/ankita_pachauri/32/61469_2.png) [@Ankita\_Pachauri](https://discuss.elastic.co/u/Ankita_Pachauri)\
**Post date:** [January 27, 2020, 10:59am UTC](https://discuss.elastic.co/t/getting-same-logs-while-having-different-ports/216642/1 "2020-01-27T10:59:14Z")

</div>

I have two logstash conf files.  
First one is for filebeat.  
input {  
beats {  
port =\> 5044  
}  
}  
filter{  
......  
}  
} and the other one is for awx:  
input {  
tcp {  
host =\> "10.35.110.86"  
port =\> 3310  
}  
}  
But i am getting the same filebeat logs in the other index.

---

<div class="post-metadata">

**Author:** ![Badger](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/badger/32/25190_2.png) [@Badger](https://discuss.elastic.co/u/Badger)\
**Post date:** [January 27, 2020, 2:41pm UTC](https://discuss.elastic.co/t/getting-same-logs-while-having-different-ports/216642/2 "2020-01-27T14:41:57Z")

</div>

Does [this](https://discuss.elastic.co/t/wrong-values-pass-to-index/207564/4) help?

---

<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 24, 2020, 2:41pm UTC](https://discuss.elastic.co/t/getting-same-logs-while-having-different-ports/216642/3 "2020-02-24T14:41:59Z")

</div>

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