# "lexicographical order and then parsed as a single config file"

**URL:** https://discuss.elastic.co/t/lexicographical-order-and-then-parsed-as-a-single-config-file/102393
**Category:** Logstash
**Created:** [October 2, 2017, 1:32am UTC](https://discuss.elastic.co/t/lexicographical-order-and-then-parsed-as-a-single-config-file/102393 "2017-10-02T01:32:22Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![antwanvanderstap](https://avatars.discourse-cdn.com/v4/letter/a/94ad74/32.png) [@antwanvanderstap](https://discuss.elastic.co/u/antwanvanderstap)
#### Post date: [October 2, 2017, 1:32am UTC](https://discuss.elastic.co/t/lexicographical-order-and-then-parsed-as-a-single-config-file/102393/1 "2017-10-02T01:32:22Z")

</div>

Anyone out there that can point me to the config file so I can look at it. I have a few .conf files in my /etc/logstash/conf.d/ directory and it is my understanding that running 'sudo ./bin/logstash --path.config /etc/logstash/conf.d' combines them in a single file. I am getting the following error:

[2017-10-01T18:30:44,396][INFO][logstash.modules.scaffold] Initializing module {:module\_name=\>"netflow", :directory=\>"/usr/share/logstash/modules/netflow/configuration"}  
[2017-10-01T18:30:44,532][ERROR][logstash.agent] Cannot create pipeline {:reason=\>"Expected one of #, input, filter, output at line 97, column 1 (byte 1895) after "}

Please help

---

<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: [October 2, 2017, 2:01am UTC](https://discuss.elastic.co/t/lexicographical-order-and-then-parsed-as-a-single-config-file/102393/2 "2017-10-02T02:01:45Z")

</div>

It might be easiest if you run a for loop across the files and pass in `--configtest` to Logstash to determine which one is the problematic one.

---

<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: [October 30, 2017, 2:01am UTC](https://discuss.elastic.co/t/lexicographical-order-and-then-parsed-as-a-single-config-file/102393/3 "2017-10-30T02:01:59Z")

</div>

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