I am testing how to stream to elastic service cloudwatch log via lambda function.
Deployment seem to be fine but i couldn't create(define) index pattern.
Please let me know what was problem of my tested configuration(functionbeat.yml).
You can find the related ticket here.
All was commented out for Kibana,Elasticsearch Output and Logstash Output because using Elastic Service.
# =============================== Elastic Cloud # You can find the `cloud.id` in the Elastic Cloud web UI. cloud.id: "DEMO:MY ID" cloud.auth: "elastic:MY Passward" #==================== Elasticsearch template setting setup.template.name: "functionbeat" setup.template.pattern: "functionbeat-*" setup.template.settings: index.number_of_shards: 1 # ================================= Processors processors: - add_host_metadata: ~ - add_cloud_metadata: ~ # ================================== Logging logging.to_files: true logging.files: # ./functionbeat test config -e [root@ip-172-31-32-236 functionbeat-7.8.1-linux-x86_64]# ./functionbeat test config -e <snip> INFO instance/beat.g o:310 Setup Beat: functionbeat; Version: 7.8.1 INFO [index-management] idxmgmt/std.go:184 Set output.elasticsearch.index to 'functionbeat-7.8.1' as ILM is enabled. INFO eslegclient/connection.go:99 elasticsearch url: https://c215xxxxxxxxxxx.ap-northeast-1.aws.found.io:443 INFO [publisher] pipeline/module.go:113 Beat name: ip-172-31-32-236.us-east-2.compute.internal Config OK
The above was referred to below your link.