anchor.diff:  The more machines you have, the more important it's to centralize logs.
   In this article, I will describe what I discovered while trying to collect logs from applications deployed on Beanstalk and send them into Elasticsearch.
   
  -Disclaimer: I am an AWS newbie
  +Disclaimer: I am an AWS newbie. 
   
   ## The family picture
   
  
positive.code:     RetentionInDays: 30
  ----
  This sets up the Cloudwatch log agent.
  You can also install it on any EC2 instance with yum:
  
  [source,shell]
  ----
  
negative.code: 
  To ship logs into Cloudwatch, an AWSLogs agent is provided.
  To archive logs into S3, a script is cron-ed along with logrotate.
  
  This article will skip the security (IAM) settings which are required to allow these components to communicate.
  
  ## Beanstalk
  
  