when you start it as service logstash start did you check if its running or not ?
start the logstash and show me the output of
$ ps aux | grep logstash
everytime i run this command, i can see a new PID which means that it is trying to restart logstash every few seconds and is failing, finally after few unsuccessful attempts it fails forever and never restarts untill i run the start command again.
Nothing logged to related to the startup failure, but here is the log i see
[2017-08-04T15:22:13,694][INFO ][logstash.pipeline ] Starting pipeline {"id"=>"main", "pipeline.workers"=>2, "pipeline.batch.size"=>125, "pipeline.batch.delay"=>5, "pipeline.max_inflight"=>250}
[2017-08-04T15:38:42,520][INFO ][logstash.pipeline ] Pipeline main started
[2017-08-04T15:38:42,531][WARN ][logstash.runner ] SIGHUP received.
[2017-08-04T15:38:42,545][WARN ][logstash.runner ] SIGTERM received. Shutting down the agent.
[2017-08-04T15:38:42,558][ERROR][logstash.inputs.metrics ] Failed to create monitoring event {:message=>"For path: http_address", :error=>"LogStash::Instrument::MetricStore::MetricNotFound"}
[2017-08-04T15:38:42,589][INFO ][logstash.agent ] Successfully started Logstash API endpoint {:port=>9600}
[2017-08-04T15:38:43,565][WARN ][logstash.agent ] stopping pipeline {:id=>".monitoring-logstash"}
[2017-08-04T15:38:45,517][WARN ][logstash.agent ] stopping pipeline {:id=>"main"}
Yes i ran it manually using this command, and i am still running it using just one config file. It works like a champ. But not with systemctl start logstash
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.