i need that all lines will be one line, without newline
At search time you can run this sed statement to remove all line breaks:
search string
| rex mode=sed field=_raw "s/\n/ /g"
Here's a regex 101 example showing the results: https://regex101.com/r/uNUBum/1