How to search for plain text in cloudwatch logs insights?

First, change Row to Text to access the logs as plain text: enter image description here

Then search in the search field: enter image description here

Searching on a massive amount of logs in the cloudwatch logs console can be pretty slow, which is where cloudwatch logs insights comes in.

If you want to search for a specific string in cloudwatch logs insights you could do something like

fields @timestamp, @message
| filter @message like /your text to search/
| sort @timestamp desc
| limit 20