Ignoring the 'pipelines.yml' file because modules or command line options are specified

Is it possible to run multiple pipelines on the Windows version of Logstash? I can’t seem to get this to work for my files.

I have installed Logstash on Windows and placed a pipelines.yml file in C:\Program Files\Logstash\config.

Here are the contents of the pipelines.yml

  • pipeline.id: debuglog
    path.config: "./config/conf/debuglog_pipeline.conf"

  • pipeline.id: syslog
    path.config: "./config/conf/syslog_pipeline.conf"

When I launch logstash.bat from C:\Program Files\Logstash\bin, I see this message logged:

• [ WARN ][logstash.config.source.multilocal] Ignoring the 'pipelines.yml' file because modules or command line options are specified

Then, at the end of the startup process, the pipeline terminates – assuming because it can’t load the needed configuration data specified in path.config from pipelines.yml file.

Is it possible to use multiple pipelines in the Windows variant of Logstash? If so, how is it done? Would someone please instruct me on what I am doing wrong?

For what it is worth, when I start Logstash, the pipelines.yml file is not loaded as expected, but Logstash does indeed start with the config that the pipelines file points to.

This is telling you that logstash has found a pipeline configuration so it is not going to read pipelines.yml. You can provide a pipeline configuration using the -e, -f or --modules command line options. You can also provide it in logstash.yml using path.config or config.string

It's finding a configuration somewhere. My guess would be path.confg in logstash.yml.

As Badger said, yes it's possible, LS works fine with pipelines. I have used the full path, not relative path. However should work.

Your real problem is an issue in .conf. Test every .conf with the command:
logstash.bat -f ./config/conf/debuglog_pipeline.conf -t