Log stash Installation, Configuration and Running

Hi, I have configured my logstash with simple pipeline configuration (followed Logstash documentation)
when I am trying to run the command I am getting the below error.

I am giving the following command at command line

under bin: logstash -f "Path of pipeline configuration file"

K:\ELK Stack\logstash-5.4.1\bin>logstash -f C:\Users\deepa\Desktop\logstash_cars.conf
An unexpected error occurred! :error => bad URI(is not URI?): file:///K:/ELK Stack/logstash-5.4.1/config/log4j2.properties, :backtrace => ["K:/ELK Stack/logstash-5.4.1/vendor/jruby/lib/ruby/1.9/uri/common.rb:176:in split'", "K:/ELK Stack/logstash-5.4.1/vendor/jruby/lib/ruby/1.9/uri/common.rb:210:inparse'", "K:/ELK Stack/logstash-5.4.1/vendor/jruby/lib/ruby/1.9/uri/common.rb:747:in parse'", "K:/ELK Stack/logstash-5.4.1/vendor/jruby/lib/ruby/1.9/uri/common.rb:994:inURI'", "K:/ELK Stack/logstash-5.4.1/logstash-core/lib/logstash/logging/logger.rb:76:in initialize'", "org/jruby/ext/thread/Mutex.java:149:insynchronize'", "K:/ELK Stack/logstash-5.4.1/logstash-core/lib/logstash/logging/logger.rb:74:in initialize'", "K:/ELK Stack/logstash-5.4.1/logstash-core/lib/logstash/runner.rb:205:inexecute'", "K:/ELK Stack/logstash-5.4.1/vendor/bundle/jruby/1.9/gems/clamp-0.6.5/lib/clamp/command.rb:67:in run'", "K:/ELK Stack/logstash-5.4.1/logstash-core/lib/logstash/runner.rb:185:inrun'", "K:/ELK Stack/logstash-5.4.1/vendor/bundle/jruby/1.9/gems/clamp-0.6.5/lib/clamp/command.rb:132:in run'", "K:\\ELK Stack\\logstash-5.4.1\\lib\\bootstrap\\environment.rb:71:in(root)'"]

What does the configuration look like?

Thanks for responding.

This was resolved. I am using folder name with space in logstash installation directory and got to know that logstash cant resolve path with spaces. I removed space and it is working fine.

Thanks

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