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


(Antwan van der Stap) #1

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


(Mark Walkom) #2

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.


(system) #3

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