Logstash service keeps dying - no logs

Trying a new ELK stack install against RHEL 7. Java on openjdk version "1.8.0_144"

I'm installing an older version (this is an absolute requirement) and used the logstash-2.1.3-1.noarch.rpm package. ES is up and running as a service and I can curl 9200.

I've made 1 super simple config file:

cat /etc/logstash/conf.d/test.conf
input { stdin { } }
output { stdout {} }

I try to start the logstash service and it starts, and then takes about 5 seconds to fail with no errors. It just goes from "running" to "not running." All the logs are empty (and owned by logstash:logstash).

can you do a configuration like

input { generator { count => 1 } tcp { port => 3333 } }
output { file { path => "/tmp/test.log"} }

and see if logstash stays up and writes data to that file?

That worked to get the process running. What was wrong with my conf file?

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