# Filebeat : Send different logs from filebeat to different logstash Pipeline

**URL:** <https://discuss.elastic.co/t/filebeat-send-different-logs-from-filebeat-to-different-logstash-pipeline/174732>\
**Category:** Beats\
**Tags:** filebeat\
**Created:** [April 1, 2019, 8:12am UTC](https://discuss.elastic.co/t/filebeat-send-different-logs-from-filebeat-to-different-logstash-pipeline/174732 "2019-04-01T08:12:30Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![lakshykar](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/lakshykar/32/43198_2.png) [@lakshykar](https://discuss.elastic.co/u/lakshykar)\
**Post date:** [April 1, 2019, 8:12am UTC](https://discuss.elastic.co/t/filebeat-send-different-logs-from-filebeat-to-different-logstash-pipeline/174732/1 "2019-04-01T08:12:30Z")

</div>

Hi,

I have configured one logstash service having two pipelines, both pipelines separate ports are given.  
Let's say Pipeline1 (Port 5044) , Pipeline2 (Port 5045)

Now i want to send data to the logstash using filebeat. So i have two types of log file let's say log1, log2.

I want to send log1 to Pipeline1 and log2 to Pipeline 2.

I am running only one instance of filebeat, how i can do this?

---

<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 29, 2019, 8:12am UTC](https://discuss.elastic.co/t/filebeat-send-different-logs-from-filebeat-to-different-logstash-pipeline/174732/2 "2019-04-29T08:12:33Z")

</div>

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