Logstash failed to stop the service

I'm experiencing the logstash service failed to start after I issue

systemctl restart logstash


systemctl status logstash
● logstash.service - LSB: Starts Logstash as a daemon.
** Loaded: loaded (/etc/rc.d/init.d/logstash)**
** Active: active (running) since Wed 2016-10-26 10:51:15 IST; 4min 25s ago**
** Docs: man:systemd-sysv-generator(8)**
** Process: 16200 ExecStop=/etc/rc.d/init.d/logstash stop (code=exited, status=1/FAILURE)**
** Process: 16237 ExecStart=/etc/rc.d/init.d/logstash start (code=exited, status=0/SUCCESS)**
** CGroup: /system.slice/logstash.service**
** └─1380 /bin/java -XX:+UseParNewGC -XX:+UseConcMarkSweepGC -Djava.awt.headless=true -XX:CMSInitiatingOccupancyFraction=75 -XX:+UseCMSInitiatingO...**

even though the service says active logstash port is not open and my client PC can't communicate with the logstash server.

what could be the issue??

I found the issue.

It is because I have wrongly configured the network.host attribute in elasticsearch.yml file.
after matched it with the logstash.conf hosts: attribute evething seems to work fine..:grin: