I am using Elasticcloud (hosted elasticsearch) to index my app data. Now I want to start streaming logs from my AWS lambda functions to my Elasticcloud account. I have googled and I can see that there are couple of ways to do this:
- Functionbeat
- Cloudwatch-> Elasticsearch subscription filter
- Cloudwatch-> Lambda subscription filter
My questions are
- which is the most cost efficient and performant way to stream logs from AWS cloudwatch to elasticcloud
- For functionbeat is it necessary to first send logs to a S3 bucket? (I am referring to this https://www.elastic.co/guide/en/beats/functionbeat/current/configuration-functionbeat-options.html)