Telegraf syslog monitoring for node.js application

Hello everyone, I am trying to setup syslog monitoring for a node.js application. I did setup rsyslog on my mac and all the configurations for rsyslog & telegraf. I am able to send test packets using tcp echo "57 <13>1 2018-10-01T12:00:00.0Z example.org root - - - test" | nc 127.0.0.1 6514 and can see the same in db measurements and under telegraf logs. But I dont see any logging for my node app which has used the packages - winston-syslog, winston-rsyslog, syslog-client. Anybody able to make that work?