# Logstash configuration in multiple files

**URL:** https://discuss.elastic.co/t/logstash-configuration-in-multiple-files/225399
**Category:** Logstash
**Created:** [March 27, 2020, 12:11pm UTC](https://discuss.elastic.co/t/logstash-configuration-in-multiple-files/225399 "2020-03-27T12:11:51Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![jimmyvalmer19](https://avatars.discourse-cdn.com/v4/letter/j/dc4da7/32.png) [@jimmyvalmer19](https://discuss.elastic.co/u/jimmyvalmer19)
#### Post date: [March 27, 2020, 12:11pm UTC](https://discuss.elastic.co/t/logstash-configuration-in-multiple-files/225399/1 "2020-03-27T12:11:51Z")

</div>

In logstash 7.3.0 i just to have conf like  
01\_input.conf  
02\_parser-a  
03\_parser-b  
...  
nn\_parser-z  
99\_output.conf

Now i use Logstash 7.6.1  
It seems it has problem, when `filter {}` section is spread among more files

I had it like `filter{ ` at the end of file 00\_input.conf

And the ending carret of filter - `}` at the beginning of file 99\_output.conf

So all my nn\_parser-z files were inside of the filter.

Now it only allows me to have one very long file begginning with `filter{` and ending with `}`

I hope you will understand 🙂

---

<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: [March 27, 2020, 3:55pm UTC](https://discuss.elastic.co/t/logstash-configuration-in-multiple-files/225399/2 "2020-03-27T15:55:32Z")

</div>

See [this](https://discuss.elastic.co/t/logstash-pipeline-systax-errors-after-7-6-0/220903/12) thread.

---

<div class="post-metadata">

### Author: ![jimmyvalmer19](https://avatars.discourse-cdn.com/v4/letter/j/dc4da7/32.png) [@jimmyvalmer19](https://discuss.elastic.co/u/jimmyvalmer19)
#### Post date: [March 31, 2020, 12:27pm UTC](https://discuss.elastic.co/t/logstash-configuration-in-multiple-files/225399/3 "2020-03-31T12:27:13Z")

</div>

Thank's Badger. I'm staying with Logstash 7.3.0. for now

---

<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 28, 2020, 12:27pm UTC](https://discuss.elastic.co/t/logstash-configuration-in-multiple-files/225399/4 "2020-04-28T12:27:58Z")

</div>

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