Logstash executable accepts filebeat data, but when installed as service not working with same conf files

Part of the issue is that this is a YAML file, and you have an indent (even a single space is an indent). path.config should be all the way to the left, with no preceding space.

Next, there should be a space after the colon, and you should not be looking in the bin directory. Your line should look more like

path.config: "C:\Users\sgorasia\Downloads\logstash-5.5.1.2\logstash-5.5.1\my_configuration"

...where my_configuration is where the pipeline files are found, e.g. logstash.conf. As Logstash looks at all files in this directory, it is not appropriate to point it to the bin directory. This directory does not need to exist within the Logstash installation path, and could instead be something like C:\Users\sgorasia\Documents\Logstash