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

Enable log.level trace as described here. It's very verbose, but it will tell you what the file input is seeing.