# Log stash Installation, Configuration and Running

**URL:** <https://discuss.elastic.co/t/log-stash-installation-configuration-and-running/141057>\
**Category:** Logstash\
**Created:** [July 23, 2018, 12:18am UTC](https://discuss.elastic.co/t/log-stash-installation-configuration-and-running/141057 "2018-07-23T00:18:10Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![deepak11](https://avatars.discourse-cdn.com/v4/letter/d/35a633/32.png) [@deepak11](https://discuss.elastic.co/u/deepak11)\
**Post date:** [July 23, 2018, 12:18am UTC](https://discuss.elastic.co/t/log-stash-installation-configuration-and-running/141057/1 "2018-07-23T00:18:10Z")

</div>

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:in`parse'", "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:in`URI'", "K:/ELK Stack/logstash-5.4.1/logstash-core/lib/logstash/logging/logger.rb:76:in `initialize'", "org/jruby/ext/thread/Mutex.java:149:in`synchronize'", "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:in`execute'", "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:in`run'", "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)'"]

---

<div class="post-metadata">

**Author:** ![Badger](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/badger/32/25190_2.png) [@Badger](https://discuss.elastic.co/u/Badger)\
**Post date:** [July 23, 2018, 11:46am UTC](https://discuss.elastic.co/t/log-stash-installation-configuration-and-running/141057/2 "2018-07-23T11:46:58Z")

</div>

What does the configuration look like?

---

<div class="post-metadata">

**Author:** ![deepak11](https://avatars.discourse-cdn.com/v4/letter/d/35a633/32.png) [@deepak11](https://discuss.elastic.co/u/deepak11)\
**Post date:** [July 23, 2018, 9:47pm UTC](https://discuss.elastic.co/t/log-stash-installation-configuration-and-running/141057/3 "2018-07-23T21:47:15Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [August 20, 2018, 9:47pm UTC](https://discuss.elastic.co/t/log-stash-installation-configuration-and-running/141057/4 "2018-08-20T21:47:15Z")

</div>

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