# Logstash 5.3 bad uri error

**URL:** <https://discuss.elastic.co/t/logstash-5-3-bad-uri-error/82504>\
**Category:** Logstash\
**Created:** [April 16, 2017, 2:25pm UTC](https://discuss.elastic.co/t/logstash-5-3-bad-uri-error/82504 "2017-04-16T14:25:54Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![brechtDhondt](https://avatars.discourse-cdn.com/v4/letter/b/c57346/32.png) [@brechtDhondt](https://discuss.elastic.co/u/brechtDhondt)\
**Post date:** [April 16, 2017, 2:25pm UTC](https://discuss.elastic.co/t/logstash-5-3-bad-uri-error/82504/1 "2017-04-16T14:25:54Z")

</div>

I'm trying out logstash 5.3.0 and just running a test.conf isn't working. below is the error i get. i saw before that there might be errors if i extract logstash to a path with a space so it is located in "c:/developer/elastic" (windows 10).  
Am i doing anything wrong?

> C:\Developer\Elastic\Logstash\>bin\logstash -f etc\test.conf  
> An unexpected error occurred! :error =\> bad URI(is not URI?): file://C:\Developer\Elastic\Logstash\config/log4j2.properties, :backtrace =\> ["C:/Developer/Elastic/Logstash/vendor/jruby/lib/ruby/1.9/uri/common.rb:176:in `split'", "C:/Developer/Elastic/Logstash/vendor/jruby/lib/ruby/1.9/uri/common.rb:210:in `parse'", "C:/Developer/Elastic/Logstash/vendor/jruby/lib/ruby/1.9/uri/common.rb:747:in `parse'", "C:/Developer/Elastic/Logstash/vendor/jruby/lib/ruby/1.9/uri/common.rb:994:in `URI'", "C:/Developer/Elastic/Logstash/logstash-core/lib/logstash/logging/logger.rb:76:in `initialize'", "org/jruby/ext/thread/Mutex.java:149:in `synchronize'", "C:/Developer/Elastic/Logstash/logstash-core/lib/logstash/logging/logger.rb:74:in `initialize'", "C:/Developer/Elastic/Logstash/logstash-core/lib/logstash/runner.rb:198:in `execute'", "C:/Developer/Elastic/Logstash/vendor/bundle/jruby/1.9/gems/clamp-0.6.5/lib/clamp/command.rb:67:in `run'", "C:/Developer/Elastic/Logstash/logstash-core/lib/logstash/runner.rb:183:in `run'", "C:/Developer/Elastic/Logstash/vendor/bundle/jruby/1.9/gems/clamp-0.6.5/lib/clamp/command.rb:132:in `run'", "C:\\Developer\\Elastic\\Logstash\\lib\\bootstrap\\environment.rb:71:in `(root)'"]

---

<div class="post-metadata">

**Author:** ![warkolm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/warkolm/32/39224_2.png) [@warkolm](https://discuss.elastic.co/u/warkolm)\
**Post date:** [April 17, 2017, 4:24am UTC](https://discuss.elastic.co/t/logstash-5-3-bad-uri-error/82504/2 "2017-04-17T04:24:20Z")

</div>

What does your config look like?

---

<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:** [May 15, 2017, 4:36am UTC](https://discuss.elastic.co/t/logstash-5-3-bad-uri-error/82504/3 "2017-05-15T04:36:37Z")

</div>

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