We are excited to announce regular expression support for Amazon CloudWatch Logs Live Tail filter pattern syntax, making it easier to search and match relevant log events. Customers use filter pattern syntax today in metric filters and subscription filters, and Live Tail’s addition is further enhancing their experience. With today’s launch, customers will be able to customize their filtering to meet their needs with flexible and powerful regular expressions within Live Tail filter patterns. Now customers can define one filter to match multiple IP subnets or HTTP status codes using a regular expression such as ‘{ $.statusCode=%4[0-9]{2}% }’ rather than having to define multiple filters to find exactly what they are looking for in their logs.
Source:: Amazon AWS