# Multiple logs to different index - Filebeat

**URL:** <https://discuss.elastic.co/t/multiple-logs-to-different-index-filebeat/256003>\
**Category:** Beats\
**Tags:** filebeat\
**Created:** [November 19, 2020, 2:38pm UTC](https://discuss.elastic.co/t/multiple-logs-to-different-index-filebeat/256003 "2020-11-19T14:38:23Z")\
**Posts on this page:** 1\
**Showing post:** 2

<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:** [November 20, 2020, 12:47am UTC](https://discuss.elastic.co/t/multiple-logs-to-different-index-filebeat/256003/2 "2020-11-20T00:47:27Z")

</div>

Take a look at the example conditional output here for how to do what you want - [Filebeat conditional output logstash](https://discuss.elastic.co/t/filebeat-conditional-output-logstash/128756)

Also, please format your code/logs/config using the `</>` button, or markdown style back ticks. It helps to make things easy to read which helps us help you 🙂

---

_[View the full topic](https://discuss.elastic.co/t/multiple-logs-to-different-index-filebeat/256003)._
