# Flow of packetbeat through logstash

**URL:** <https://discuss.elastic.co/t/flow-of-packetbeat-through-logstash/185989>\
**Category:** Beats\
**Tags:** packetbeat\
**Created:** [June 17, 2019, 4:10am UTC](https://discuss.elastic.co/t/flow-of-packetbeat-through-logstash/185989 "2019-06-17T04:10:31Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![s23deepak](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/s23deepak/32/47921_2.png) [@s23deepak](https://discuss.elastic.co/u/s23deepak)\
**Post date:** [June 17, 2019, 4:10am UTC](https://discuss.elastic.co/t/flow-of-packetbeat-through-logstash/185989/1 "2019-06-17T04:10:32Z")

</div>

I need help in clarifying the flow of packets through the following files:

i) packetbeat.yml  
ii) logstash.yml  
iii) logstash configuration file ( logstash.conf )  
iv) pipelines.yml

Could someone tell in which order these files have to be linked?

Thank you in advance...

---

<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:** [June 17, 2019, 5:06am UTC](https://discuss.elastic.co/t/flow-of-packetbeat-through-logstash/185989/2 "2019-06-17T05:06:25Z")

</div>

To be clear, are you sending the data to Logstash? Are you using pipelines?

---

<div class="post-metadata">

**Author:** ![s23deepak](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/s23deepak/32/47921_2.png) [@s23deepak](https://discuss.elastic.co/u/s23deepak)\
**Post date:** [June 17, 2019, 5:52am UTC](https://discuss.elastic.co/t/flow-of-packetbeat-through-logstash/185989/3 "2019-06-17T05:52:23Z")

</div>

Hi warkolm,

Yes, i am trying to send data from port 5044 to logstash( which in turn is listening at default port 5044).  
I have ran the following command:

> /usr/share/logstash/bin/logstash -e 'input { beats { port =\> 5044 } } output { elasticsearch { hosts =\> localhost } }' --path.settings /etc/logstash

Because of the option `-e` pipelines .yml is being ignored, but while running the above command pipelines are automatically created.

> [2019-06-17T11:13:24,466][INFO][logstash.pipeline] Pipeline started successfully {:pipeline\_id=\>"main", :thread=\>"#\<Thread:0x1285ec73 run\>"}

---

<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:** [July 15, 2019, 5:52am UTC](https://discuss.elastic.co/t/flow-of-packetbeat-through-logstash/185989/4 "2019-07-15T05:52:26Z")

</div>

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