我找不到一个好的文档来详细说明如何将数据从 AWS cloudwatch 流式传输到弹性云。我现在设置如下,但是在弹性云索引中看不到数据我在本地安装了functionbeat并更新了配置如下:
functionbeat.provider.aws.endpoint: "s3.amazonaws.com"
functionbeat.provider.aws.deploy_bucket: "filebeat-deploy"
functionbeat.provider.aws.functions:
- name: cloudwatch
enabled: true
type: cloudwatch_logs
description: "lambda function for cloudwatch logs"
triggers:
- log_group_name: my_log_group_name
cloud.id: "<cloud_id>"
cloud.auth: "<username:password>"
我遵循了这份文件 - https://www.elastic.co/guide/en/beats/functionbeat/current/configuration-functionbeat-options.html
然后我跑去./functionbeat deploy cloudwatch
部署这个功能。我已经检查了我可以看到存储桶中的部署我在弹性云filebeat-deploy
中看不到日志my_log_group_name