Input beats - output syslog, what in the middle

Hi,

The messages i get from beats are completely unstructured. The most important of all they include characters like \t and \n and actually don't recognize the new lines and tabs which exist in the raw data. So they look very messy.

Is there any efficient way to break the message in lines by replacing those characters and get back the data in their readable format? One by one the lines of the raw data.

Thanks in advance