Problem setting up Logstash-1.5.0

(jigar) #1

Hi Guys,

I am new to logstash. I am struggling to make it working on my windows 8.1 machine. I am trying to use logstash-1.5.0.
I am following below url to get going:

I have downloaded logstash and set up java path in environment variable.

When I try to execute follwoing command from logstash-1.5.0/bin folder
logstash -e 'input { stdin { } } output { stdout {} }'

command prompt gives me error as It says could not recognize command.

Can anyone please help/guide me ?


(Chaitanya Varanasi) #2

You need to run the logstash.bat command instead of logstash while running in the Windows environment.

For ex: (inside the logstash/bin folder)

logstash.bat -e 'input { stdin { } } output { stdout {} }'

Thanks and Regards,
Chaitanya Varanasi

(jigar) #3

Hi Chaitanya,

Thanks for your reply. I have tried that but is is not working as well. I have attached screen grab here.

I know there is something silly stuff I am missing but can't spot it right now.

Kind Regards,

(jigar) #4


I manage to go bit further, and getting new error now. I have attached screenshot here. Can anyone please help/guide me?
I am using windows8.1 os and logstash 1.5.0. I have installed ruby on my machine already.


(Feng Yu (Abcfy2)) #5

You must use " instead '. Because windows cmd do not recognize ' with args.


:: right, can be executed
ren "a b" "c d" 

:: wrong, cmd can not parse single quote
ren 'a b' 'c d'

Also, .bat can be omitted, because cmd could recognize the execute program with specified file name automatically.

(jigar) #6


Thanks for looking into this. I did try your suggestion but not luck. I have attached screenshot here.


(Feng Yu (Abcfy2)) #7

Did you download from logstash download page ?

Don't download zip from github, it's only for developers and does not provide bundle dependencies.

It works for me here(windows 8.1):

(jigar) #8


You are right I was using developer version. I downloaded proper one now and it works as expected.

Thanks a Lot

Kind Regards,

(system) #9