Using Logstash to read from a log file and then output each log lines to Kafka topic, cannot understand why it is not putting file content to kafka topic specified in conf file

The same issue here, you should change slashes to backslashes:

path => "C:/Users/LENOVO/Downloads/ms1/logs/xelerate_system.log"