# Io/console not supported when starting logstash 1.5.0 on Win 7

**URL:** https://discuss.elastic.co/t/io-console-not-supported-when-starting-logstash-1-5-0-on-win-7/966
**Category:** Logstash
**Created:** [May 20, 2015, 1:20pm UTC](https://discuss.elastic.co/t/io-console-not-supported-when-starting-logstash-1-5-0-on-win-7/966 "2015-05-20T13:20:35Z")
**Posts on this page:** 10
**Page:** 1

<div class="post-metadata">

### Author: ![mobcdi](https://avatars.discourse-cdn.com/v4/letter/m/e480ec/32.png) [@mobcdi](https://discuss.elastic.co/u/mobcdi)
#### Post date: [May 20, 2015, 1:20pm UTC](https://discuss.elastic.co/t/io-console-not-supported-when-starting-logstash-1-5-0-on-win-7/966/1 "2015-05-20T13:20:35Z")

</div>

I'm trying to get ELK setup on a Win 7 machine using Java 1.8 . I've got E and K and marvel running but I can't get logstash to startup.

From a windows command console running with admin previlages on a folder on the desktop (where ES and Kibana run happily) when I run logstash.bat I get

```
Microsoft Windows [Version 6.1.7601]

C:\Users\user.name\Desktop\Kibana\logstash-1.5.0\bin>logstash.bat
io/console not supported; tty will not be manipulated
No command given

Usage: logstash <command> [command args]
Run a command with the --help flag to see the arguments.
For example: logstash agent --help

Available commands:
  agent - runs the logstash agent
  version - emits version info about this logstash

```

if I run

```
logstash version

```

I get

```
io/console not supported; tty will not be manipulated
logstash 1.5.0

```

If I run logstash agent its looks for config files to test but I don't have any of them (do I ?)

Also noticed in the logstash folder there are various files which seems to be the output of the getting started command from here [https://www.elastic.co/guide/en/logstash/current/getting-started-with-logstash.html](https://www.elastic.co/guide/en/logstash/current/getting-started-with-logstash.html) but marvel only shows the kibana marvel and kibana.marvel indexes

Any pointers on how to make sure Logstash is running properly on windows and it can feed ES?

---

<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: [May 21, 2015, 12:03am UTC](https://discuss.elastic.co/t/io-console-not-supported-when-starting-logstash-1-5-0-on-win-7/966/2 "2015-05-21T00:03:32Z")

</div>

You do need to define your own config files, you can't run LS without them (or it'll start and then bail immediately).

---

<div class="post-metadata">

### Author: ![mobcdi](https://avatars.discourse-cdn.com/v4/letter/m/e480ec/32.png) [@mobcdi](https://discuss.elastic.co/u/mobcdi)
#### Post date: [May 21, 2015, 8:03am UTC](https://discuss.elastic.co/t/io-console-not-supported-when-starting-logstash-1-5-0-on-win-7/966/3 "2015-05-21T08:03:40Z")

</div>

Ooops can't get more novice a mistake than that I'd say 😄 . Thanks for the pointer

---

<div class="post-metadata">

### Author: ![ScottLawrenceLawson](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/scottlawrencelawson/32/3644_2.png) [@ScottLawrenceLawson](https://discuss.elastic.co/u/ScottLawrenceLawson)
#### Post date: [July 9, 2015, 11:21pm UTC](https://discuss.elastic.co/t/io-console-not-supported-when-starting-logstash-1-5-0-on-win-7/966/4 "2015-07-09T23:21:50Z")

</div>

I get the same error on Win7 using Cygwin terminal:

> [@mobcdi](#):
>
> io/console not supported; tty will not be manipulated

While the OP needed to know about parameters, this error is not related to that. I cannot get Logstash to use my conf file to start up and get this error, too:

sml@sml-co-lt2 ~/logstash-1.5.2  
$ bin/logstash agent -f found.conf  
io/console not supported; tty will not be manipulated  
{:timestamp=\>"2015-07-09T15:27:03.971000-0700", :message=\>"Failed to install template: connect timed out", :level=\>:error}

Do you think that is related?

---

<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: [July 9, 2015, 11:38pm UTC](https://discuss.elastic.co/t/io-console-not-supported-when-starting-logstash-1-5-0-on-win-7/966/5 "2015-07-09T23:38:58Z")

</div>

> [@ScottLawrenceLawson](#):
>
> Failed to install template: connect timed out

This is a problem talking to ES, so not related.

---

<div class="post-metadata">

### Author: ![ScottLawrenceLawson](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/scottlawrencelawson/32/3644_2.png) [@ScottLawrenceLawson](https://discuss.elastic.co/u/ScottLawrenceLawson)
#### Post date: [July 9, 2015, 11:48pm UTC](https://discuss.elastic.co/t/io-console-not-supported-when-starting-logstash-1-5-0-on-win-7/966/6 "2015-07-09T23:48:15Z")

</div>

Thanks, how can I test/debug why my local logstash is not talking to my Elasticsearch instance in Found? I can post via curl to it with the same uri but using the conf file below, it throws the error:

input { stdin{} }

output {  
elasticsearch {  
protocol =\> http  
host =\> a6793c--OBSCURED--cd8e7  
port =\> 9243 # Check the port also  
ssl =\> true  
}

stdout { codec =\> rubydebug }  
}

---

<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: [July 10, 2015, 1:11am UTC](https://discuss.elastic.co/t/io-console-not-supported-when-starting-logstash-1-5-0-on-win-7/966/7 "2015-07-10T01:11:16Z")

</div>

Looks like your host string is incomplete?

---

<div class="post-metadata">

### Author: ![ScottLawrenceLawson](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/scottlawrencelawson/32/3644_2.png) [@ScottLawrenceLawson](https://discuss.elastic.co/u/ScottLawrenceLawson)
#### Post date: [July 16, 2015, 11:43pm UTC](https://discuss.elastic.co/t/io-console-not-supported-when-starting-logstash-1-5-0-on-win-7/966/8 "2015-07-16T23:43:50Z")

</div>

Yes, I got this working now, thanks!

---

<div class="post-metadata">

### Author: ![Octavius](https://avatars.discourse-cdn.com/v4/letter/o/f04885/32.png) [@Octavius](https://discuss.elastic.co/u/Octavius)
#### Post date: [August 24, 2016, 9:25pm UTC](https://discuss.elastic.co/t/io-console-not-supported-when-starting-logstash-1-5-0-on-win-7/966/9 "2016-08-24T21:25:39Z")

</div>

The next command works for me in windows:  
bin\logstash.bat -e 'input { stdin {} } output { stdout {} }'

---

<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: [July 6, 2017, 4:41am UTC](https://discuss.elastic.co/t/io-console-not-supported-when-starting-logstash-1-5-0-on-win-7/966/10 "2017-07-06T04:41:43Z")

</div>


