The Secret Life of AWS: The Searchlight (CloudWatch Logs Insights)
The Secret Life of AWS: The Searchlight (CloudWatch Logs Insights) # aws # cloudwatch # devops # cloud Stop scrolling. Start querying. How to find the needle in the haystack with CloudWatch Logs Insights. Part 33 of The Secret Life of AWS "I know it's in here," he muttered. "The X-Ray trace said the error happened at 10:05 AM." He was looking at the raw CloudWatch Logs console. His Lambda function was running hundreds of times a minute, which meant there were dozens of "Log Streams." He was clicking into one, scrolling to the bottom, finding nothing, clicking back, and trying the next one. "It is like looking for a needle in a stack of needles," he sighed. Margaret walked by, noticing the repetitive clicking. "Are you reading the logs manually again, Timothy?" "I have to," Timothy said. "I need to find the Exception . But there are too many lines of 'Info' and 'Debug' noise." Margaret shook h...