Sourceloader - No configuration found in the configured sources error in logstash

Continuing the discussion from Logstash 6.0.0 Command Line error:

Please elaborate if you wish to get any replies on your post.

I am getting the below error when i run logstash -f logstash.conf

[ERROR] 2017-12-22 16:10:55.009 [Ruby-0-Thread-1: C:/elk/logstash-6.0.1/vendor/bundle/jruby/2.3.0/gems/stud-0.0.23/lib/stud/task.rb:22] sourceloader - No configuration found in the configured sources.

when I try to run using logstash -e command I am getting the below error

[2017-12-22T15:52:32,859][ERROR][logstash.agent ] Failed to execute action {:action=>LogStash::PipelineAction::Create/pipeline_id:main, :exception=>"LogStash::ConfigurationError", :message=>"Expected one of #, input, filter, output at line 3, column 1 (byte 76) after ", :backtrace=>[

My logstash.conf file:

input {
file {
path => ["C:/logs/syslog.log"]
start_position => "beginning"
}
}
output {
elasticsearch {
hosts => ["localhost:9200"]
}
stdout {
codec => rubydebug
}
}

Pipeline.yml file:

  • pipeline.id: wso2
    path.config: "C:/elk/logstash-6.0.1/config/logstash.conf"

Please help me to resolve this issue.

Uninstalled Logstash and installed again now it is working.

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