# Netflow codec writes to multiple indexes

**URL:** https://discuss.elastic.co/t/netflow-codec-writes-to-multiple-indexes/191356
**Category:** Logstash
**Created:** [July 19, 2019, 9:08am UTC](https://discuss.elastic.co/t/netflow-codec-writes-to-multiple-indexes/191356 "2019-07-19T09:08:42Z")
**Posts on this page:** 1
**Showing post:** 2

<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: [July 19, 2019, 12:54pm UTC](https://discuss.elastic.co/t/netflow-codec-writes-to-multiple-indexes/191356/2 "2019-07-19T12:54:24Z")

</div>

Are you running them in separate pipelines? If they are both in the main pipeline then events will be read from both inputs and every event will be written to both outputs. Please see [this](https://discuss.elastic.co/t/logstash-setting-up-multiple-config-files-in-one-pipeline/190643/2) post.

---

_[View the full topic](https://discuss.elastic.co/t/netflow-codec-writes-to-multiple-indexes/191356)._
