title: How to search for multiple strings in logs using aws cloudwatch log insights query?
body: <p>For my aws loggroups, I want to write a cloudwatch log insgights query to search for multiple strings in the logs. I tried something like this :</p>
  <pre><code>fields @timestamp, @message, @logStream
  | filter @message like /(?i)\$\{jndi/
  | filter @message like /(?i)\$\{\$\{lower\:j/
  | sort @timestamp desc
  </code></pre>
  <p>But, it only searches for first filter which is /(?i)${jndi/ . It does not search for 2nd filter. Can someone help me to find out how can I search for multiple strings using one query?</p>
  <p>I could not find any example in aws documents and over internet</p>
  <p>Thanks for any help.</p>