Skip to content
Advertisement

Logstash not producing output

I have just installed logstash 1.5.3 on a Linux machine. Details:

$ uname -a
Linux hlt-dev 2.6.32-504.3.3.el6.x86_64 #1 SMP Wed Dec 17 01:55:02 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux

When I try to run the basic “hello world” setup

$ bin/logstash -e 'input {stdin { } } output { stdout { } }'
hello world
testing

I get nothing on stdout. Any ideas why? I installed this on my Windows machine and am able to run it there.

Output to file is also not working:

$ bin/logstash -e 'input {stdin { } } output {file {path => "./logtest1" } }'
testing
hello world

The file “logtest1” is not even being created.

Advertisement

Answer

The logstash engine can take a while to startup. Patience is a virtue!

User contributions licensed under: CC BY-SA
6 People found this is helpful
Advertisement