How to make multiple lines of json file to single line json file

@Badger Thanks for reply. Here i am having multi line with multiple events - multiline patter will not work. I just want to make my json content to single line, can you please give some advise how to convert from multiple lines to single line content like below

Single line content
''''

{"source":"logs","data":{"item":[{"id":"101","crud":"Create","fields":{"partid":"101"},"logistics":{"weight":"6.10","height":"4"}},{"id":"102","crud":"Create","fields":{"partid":"102"},"logistics":{"weight":"0.62","height":"3"}},{"id":"103","crud":"Create","fields":{"partid":"103"},"logistics":{"weight":"4.88","height":"2"}}]}}