# Best way to send a log from filebeat to his respective logstash conf

**URL:** <https://discuss.elastic.co/t/best-way-to-send-a-log-from-filebeat-to-his-respective-logstash-conf/221449>\
**Category:** Logstash\
**Created:** [February 28, 2020, 2:37pm UTC](https://discuss.elastic.co/t/best-way-to-send-a-log-from-filebeat-to-his-respective-logstash-conf/221449 "2020-02-28T14:37:17Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Incauto](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/incauto/32/60149_2.png) [@Incauto](https://discuss.elastic.co/u/Incauto)\
**Post date:** [February 28, 2020, 2:37pm UTC](https://discuss.elastic.co/t/best-way-to-send-a-log-from-filebeat-to-his-respective-logstash-conf/221449/1 "2020-02-28T14:37:18Z")

</div>

Filebeat consume many logs with different type of data, ex:

-cpu.log  
-filesystem.log  
-memory.log  
-uptime.log

Then this data is sended to logstash, and I have multiple logstash pipelines configurations, what will be the best way to redirect the type of log: cpu, memory, uptime, etc, to his respective logstash configuration, ex:

```auto
if filebeat is reading from memory.log use memory.conf

```

---

<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:** [March 27, 2020, 2:37pm UTC](https://discuss.elastic.co/t/best-way-to-send-a-log-from-filebeat-to-his-respective-logstash-conf/221449/2 "2020-03-27T14:37:25Z")

</div>

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