title: Cloudwatch agent not sending logs to cloudwatch
body: <p>I am trying to send two lots of logs up to CloudWatch.</p>
  
  <p>Here are the two logs:</p>
  
  <ol>
  <li>/var/log/apache2/access.log</li>
  <li>/var/log/apache2/error.log</li>
  </ol>
  
  <p>I used the amazon-cloudwatch-agent-config-wizard to create the config file, and here is a snippet of the file showing the correct file path:</p>
  
  <pre><code>"collect_list": [
      {
           "file_path": "/var/log/apache2/access.log",
           "log_group_name": "*group_name*",
           "log_stream_name": "apache-access"
      },
      {
           "file_path": "/var/log/apache2/error.log",
           "log_group_name": "group-name*",
           "log_stream_name": "apache-error"
      }
  ]
  </code></pre>
  
  <p>I loaded in the config with:</p>
  
  <pre><code>sudo /opt/aws/amazon-cloudwatch-agent/bin/amazon-cloudwatch-agent-ctl -a fetch-config -m ec2 -c file:/opt/aws/amazon-cloudwatch-agent/bin/config.json -s
  </code></pre>
  
  <p>And ran into no errors and no errors and showing in the amazon-cloudwatch-agent.log.</p>
  
  <p>Checking the status of the Amazon CloudWatch Agent shows it is running and has not errors. Also states the schema is valid. </p>
  
  <p>The unique part of all of this is that I have removed the old CloudWatch agent and installed the new one. I have done this on two EC2 instances, one of which everything is working perfectly on, and the other one is not sending the logs to CloudWatch.</p>
  
  <p>In a nutshell, why aren't the logs going up to CloudWatch? What can I do to troubleshoot this?</p>
  
  <p>Any help will be appreciated. </p>