# Logstash input data

**URL:** https://discuss.elastic.co/t/logstash-input-data/360229
**Category:** Logstash
**Created:** [May 26, 2024, 9:56am UTC](https://discuss.elastic.co/t/logstash-input-data/360229 "2024-05-26T09:56:00Z")
**Posts on this page:** 1
**Showing post:** 4

<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: [May 27, 2024, 1:20am UTC](https://discuss.elastic.co/t/logstash-input-data/360229/4 "2024-05-27T01:20:41Z")

</div>

> [@huanghaiqing1](#):
>
> But I added "sourceLogstash" as the new filed and I can see the data view fetched by logstash-filebeat.conf can see both new added fields ....

That sounds like you want to have two independent configurations. If you point path.config to a directory then it will read both configs in a single pipeline, read events from both inputs and send those events to both outputs. You can adjust that using conditionals, but you need those on the filters as well as the outputs.

Misunderstanding this is a very, very common mistake for beginners. (See [here](https://discuss.elastic.co/t/multiple-logstash-configs-with-different-filters-running-at-the-same-time/238749/6) and [here](https://discuss.elastic.co/t/duplicate-data-logstash/269635) for examples.)

You can use pipelines.yml to run each configuration is a separate pipeline, which is probably what you want.

---

_[View the full topic](https://discuss.elastic.co/t/logstash-input-data/360229)._
