Pipelines.yml doesn't work

I'm using Windows Server 2012 R2 (can't check if it's ok on Linux).

The pipelines.yml contains two these lines:

 - pipeline.id: test
   path.config: "C:/logstash-6.0.0/config/test.conf"

The content of the test.conf doesn't meter. It's empty in my case:

 input {}
 filter {}
 output {}

Logstash cmd:

 C:\logstash-6.0.0\bin>logstash --log.level=debug

The output contains this error

sourceloader - No configuration found in the configured sources

Full output:

Sending Logstash's logs to C:/logstash-6.0.0/logs which is now configured via log4j2.properties
[2017-12-06T11:20:55,886][INFO ][logstash.modules.scaffold] Initializing module {:module_name=>"fb_apache", :directory=>"C:/logstash-6.0.0/modules/fb_apache/configuration"}
[2017-12-06T11:20:55,886][DEBUG][logstash.plugins.registry] Adding plugin to the registry {:name=>"fb_apache", :type=>:modules, :class=>#<LogStash::Modules::Scaffold:0x1f1bde6 @module_name="fb_apache", @directory="C:/logstash-6.0.0/modules/fb_apache/configuration", @kibana_version_parts=["6", "0", "0"]>}
[2017-12-06T11:20:55,886][INFO ][logstash.modules.scaffold] Initializing module {:module_name=>"netflow", :directory=>"C:/logstash-6.0.0/modules/netflow/configuration"}
[2017-12-06T11:20:55,886][DEBUG][logstash.plugins.registry] Adding plugin to the registry {:name=>"netflow", :type=>:modules, :class=>#<LogStash::Modules::Scaffold:0x524c8858 @module_name="netflow", @directory="C:/logstash-6.0.0/modules/netflow/configuration", @kibana_version_parts=["6", "0", "0"]>}
[2017-12-06T11:20:55,933][DEBUG][logstash.runner          ] -------- Logstash Settings (* means modified) ---------
[2017-12-06T11:20:55,933][DEBUG][logstash.runner          ] node.name: "ny1wv8209"
[2017-12-06T11:20:55,933][DEBUG][logstash.runner          ] path.data: "C:/logstash-6.0.0/data"
....
[2017-12-06T11:20:55,948][DEBUG][logstash.runner          ] path.queue: "C:/logstash-6.0.0/data/queue"
[2017-12-06T11:20:55,948][DEBUG][logstash.runner          ] path.dead_letter_queue: "C:/logstash-6.0.0/data/dead_letter_queue"
[2017-12-06T11:20:55,948][DEBUG][logstash.runner          ] path.settings: "C:/logstash-6.0.0/config"
[2017-12-06T11:20:55,948][DEBUG][logstash.runner          ] path.logs: "C:/logstash-6.0.0/logs"
[2017-12-06T11:20:55,948][DEBUG][logstash.runner          ] --------------- Logstash Settings -------------------
[2017-12-06T11:20:55,948][DEBUG][logstash.config.source.multilocal] Reading pipeline configurations from YAML {:location=>"C:/logstash-6.0.0/config/pipelines.yml"}
[2017-12-06T11:20:55,995][DEBUG][logstash.agent           ] Agent: Configuring metric collection
[2017-12-06T11:20:55,995][DEBUG][logstash.instrument.periodicpoller.os] PeriodicPoller: Starting {:polling_interval=>5, :polling_timeout=>120}
[2017-12-06T11:20:56,028][DEBUG][logstash.instrument.periodicpoller.jvm] PeriodicPoller: Starting {:polling_interval=>5, :polling_timeout=>120}
[2017-12-06T11:20:56,076][DEBUG][logstash.instrument.periodicpoller.persistentqueue] PeriodicPoller: Starting {:polling_interval=>5, :polling_timeout=>120}
[2017-12-06T11:20:56,076][DEBUG][logstash.instrument.periodicpoller.deadletterqueue] PeriodicPoller: Starting {:polling_interval=>5, :polling_timeout=>120}
[2017-12-06T11:20:56,076][DEBUG][logstash.agent           ] starting agent
[2017-12-06T11:20:56,092][DEBUG][logstash.agent           ] Starting puma
[2017-12-06T11:20:56,092][DEBUG][logstash.agent           ] Trying to start WebServer {:port=>9600}
[2017-12-06T11:20:56,092][DEBUG][logstash.config.source.multilocal] Reading pipeline configurations from YAML {:location=>"C:/logstash-6.0.0/config/pipelines.yml"}
[2017-12-06T11:20:56,107][DEBUG][logstash.api.service     ] [api-service] start
[ERROR] 2017-12-06 11:20:56.279 [Ruby-0-Thread-1: C:/logstash-6.0.0/vendor/bundle/jruby/2.3.0/gems/stud-0.0.23/lib/stud/task.rb:22] sourceloader - No configuration found in the configured sources.
[2017-12-06T11:20:56,326][DEBUG][logstash.agent           ] Converging pipelines
[2017-12-06T11:20:56,326][DEBUG][logstash.instrument.periodicpoller.os] PeriodicPoller: Stopping
[2017-12-06T11:20:56,326][DEBUG][logstash.instrument.periodicpoller.jvm] PeriodicPoller: Stopping
[2017-12-06T11:20:56,326][DEBUG][logstash.instrument.periodicpoller.persistentqueue] PeriodicPoller: Stopping
[2017-12-06T11:20:56,326][DEBUG][logstash.instrument.periodicpoller.deadletterqueue] PeriodicPoller: Stopping
[2017-12-06T11:20:56,326][DEBUG][logstash.agent           ] Shutting down all pipelines {:pipelines_count=>0}
[2017-12-06T11:20:56,326][DEBUG][logstash.agent           ] Converging pipelines

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