使用functionbeat将aws cloudwatch日志流到elasticcloud

uklbhaso  于 2021-06-10  发布在  ElasticSearch
关注(0)|答案(0)|浏览(430)

我找不到一个好的文档来详细说明如何将数据从aws cloudwatch流到elasticcloud。我现在已经按如下方式设置了它,但是在弹性云索引中看不到数据,我在本地安装了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 在弹性云中

暂无答案!

目前还没有任何答案,快来回答吧!

相关问题