For us to help you further we need some more information about your configurations made. I’m not sure what is going on besides using Netcat and half your message is come through. This could be multiple settings misconfigured. Did this work before? Have you tried not to use Rsyslog and see if you get messages ingested first? What other troubleshooting have to tried besides ‘\n’ or \n ?
Knowing how you configured your environment will help us, help you better.