NSS Push Log to Rsyslog server have Line breaks Issue

We have configured zScaler logs to send logs to a syslog server, where rsyslog intercepts the feed and writes it to a file. However, rsyslog upon receiving the logs but broken into two lines. We using the Splunk CIM format as the feed output format. May I know any configuration or setting I can do on NSS server to remediate this issue?