Chapter 9: Centralizing Logs for Analysis
Log analysis is a critical piece of any infrastructure. The log is the first place that we usually start debugging. In a dynamic environment such as the cloud, sometimes log management becomes expensive as, because of the dynamic nature of the cloud, instances can come and go at any time if placed under an autoscaling group. The other factor that we need to bear in mind is the storage cost as these instances produce large files, which will increase your storage cost.
This chapter will start by looking at how to set up the CloudWatch agent, a centralized place to store all the logs. As we are dealing with a large amount of data in the cloud environment, we need someplace where we can store it for a quicker ...
Get AWS for System Administrators now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.