I have Centos 7 and installed from the repositories. I am using openjdk 1.8. I have been messing with getting logstash open for a while, and I can't even make it work from the command line.. When I launch it from the command line it just indefinately hangs every time.
The command that just takes input and outputs the data never finishes (need to ctrl-c it):
[root@thor logstash]# bin/logstash -e 'input { stdin { } } output { stdout {} }'
adsf
asdf
^C[root@thor logstash]#
Config test hangs...
[root@thor logstash]# bin/logstash -configtest
I can even add jibberish..
[root@thor logstash]# bin/logstash -whatever
^C[root@thor logstash]#
If I try and start the service
[root@thor logstash]# systemctl start logstash
/var/log/messages shows:
Dec 5 21:30:08 thor systemd: Started logstash.
Dec 5 21:30:08 thor systemd: Starting logstash...
Nothing gets created in /var/log/logstash
[root@thor logstash]# ls -la /var/log/logstash/
total 4
drwxrwxr-x. 2 logstash root 6 Dec 5 21:31 .
drwxr-xr-x. 12 root root 4096 Dec 4 20:51 ..
It is like it is getting hung somewhere and I have no idea what to do.....