From the course: Hands-On Development in AWS

Unlock this course with a free trial

Join today to access over 24,700 courses taught by industry experts.

Using insights

Using insights

- The Insights feature of CloudWatch allows us to query our log data. I have an example here in the Insights directory. I have this push Apache Logs to CloudWatch. I've already configured it here. And if we run Push Apache Logs to CloudWatch and we let this complete, it's 5,000 log messages just pulled from an example Apache thing. And we're going to get all of these messages up into CloudWatch. So while that's running, let's go over to CloudWatch and look at our log groups. Apache Logs Insights demo. I have these four streams created here. Let's look at the most recent one, the one that I just ran. And we should have several thousand messages in here. So it gives us the most recent, and then if we scroll down, it will keep refreshing and give us more data. Let's go to Logs Insights over here on the left, and there is a default query that gets populated for us. That's an interesting rotating rectangle there. Should be some arrows. All right, this is that default query. If I click Run…

Contents