# Logstash 5.1.1 "bad URI(is not URI?)"

**URL:** <https://discuss.elastic.co/t/logstash-5-1-1-bad-uri-is-not-uri/70062>\
**Category:** Logstash\
**Created:** [December 27, 2016, 12:48pm UTC](https://discuss.elastic.co/t/logstash-5-1-1-bad-uri-is-not-uri/70062 "2016-12-27T12:48:20Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![andiroot](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/andiroot/32/45026_2.png) [@andiroot](https://discuss.elastic.co/u/andiroot)\
**Post date:** [December 27, 2016, 12:48pm UTC](https://discuss.elastic.co/t/logstash-5-1-1-bad-uri-is-not-uri/70062/1 "2016-12-27T12:48:20Z")

</div>

Hello. I try to run Logstash 5.1.1 but receive an error: "bad URI (is not URI?)". In logstash.yml host and port specified. Where is the problem ? Tell me please.  
Thank you.

error:  
c: \ Program Files \ Logstash \ bin\> logstash.bat -e 'input {stdin {}} output {stdout {}}'  
An unexpected error occurred! : Error =\> bad URI (is not URI?): File: // c: / Program Files / Logstash / confi  
g / log4j2.properties,: backtrace =\> [ "C: / Program Files / Logstash / vendor / jruby / lib / ruby ​​/ 1.9 / uri / common.  
rb: 176: in `split '", "C: / Program Files / Logstash / vendor / jruby / lib / ruby ​​/ 1.9 / uri / common.rb: 210: in` parse  
' "," C: / Program Files / Logstash / vendor / jruby / lib / ruby ​​/ 1.9 / uri / common.rb: 747: in `parse'", "C: / Program Files / Logstash / vendor / jruby / lib / ruby ​​/ 1.9 / uri / common.rb: 994: in`URI '", "c: / Program Files / Logstash / log  
stash-core / lib / logstash / logging / logger.rb: 76: in `initialize '", "org / jruby / ext / thread / Mutex.java: 149: in`synchronize '", "c: / Program Files / Logstash / logstash-core / lib / logstash / logging / logger.rb: 74: in`in itialize ' "," c: / Program Files / Logstash / logstash-core / lib / logstash / runner.rb: 193: in`execute'", "c: / P  
rogram Files / Logstash / vendor / bundle / jruby / 1.9 / gems / clamp-0.6.5 / lib / clamp / command.rb: 67: in `run '", "c : / Program Files / Logstash / logstash-core / lib / logstash / runner.rb: 178: in`run '", "c: / Program Files / Logst  
ash / vendor / bundle / jruby / 1.9 / gems / clamp-0.6.5 / lib / clamp / command.rb: 132: in `run '", "c: \\ Program Files \ \ Logstash \\ lib \\ bootstrap \\ environment.rb: 71: in`(root) '"]

---

<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:** [January 24, 2017, 12:48pm UTC](https://discuss.elastic.co/t/logstash-5-1-1-bad-uri-is-not-uri/70062/2 "2017-01-24T12:48:43Z")

</div>

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