title: Streaming Cloudwatch Logs to Amazon ES
body: <p>I'm using Fargate to deploy my application. To log the container logs, I'm using <code>awslogs</code> as the log-driver. Now I want to ship my logs to Amazon ES service. While going through the <a href="https://github.com/awsdocs/amazon-cloudwatch-logs-user-guide/blob/master/doc_source/CWL_ES_Stream.md" rel="nofollow noreferrer">docs</a> for shipping, I encountered a note that mentions</p>
  
  <pre><code>Streaming large amounts of CloudWatch Logs data to other
  destinations might result in high usage charges. 
  </code></pre>
  
  <p>I want to understand what all will I be billed for while shipping the logs to ELK? How do they define <code>large amounts</code>?</p>
  
  <p>Will I be billed for </p>
  
  <p>a) Cloudwatch?</p>
  
  <p>b) Log driver?</p>
  
  <p>c) Lambda function? Does every log-line triggers a lambda function?</p>
  
  <p>Lastly, is there still a possibility to lower the cost more?</p>