logstash is working fine for a process when started through command but it is not logging when it is run as a service using sudo systemctl start logstash.service
It is active when i given above command but it is not logging the logs and i changed the logstash.service
ExecStart=/usr/share/logstash/bin/logstash -f config path