0

我已经在麋鹿服务器上安装并配置了functionbeat。安装配置成功但无法在kibana上拉取日志。

请点击这里查看错误

函数beat.yml:

functionbeat.provider.aws.endpoint: "s3.amazonaws.com"
functionbeat.provider.aws.deploy_bucket: "abcde"

functionbeat.provider.aws.functions:
  - name: cloudwatch-logs
    enabled: true
    type: cloudwatch_logs

    triggers:
      - log_group_name: abcdef

# This requires a Kibana endpoint configuration.
setup.kibana:

  host: "pri.ip:5601"

# ---------------------------- Elasticsearch Output ----------------------------
output.elasticsearch:
  # Array of hosts to connect to.
  hosts: ["http://pri.ip:9200"]

  username: "******"
  password: "**********"

# Available log levels are: error, warning, info, debug
logging.level: debug

# At debug level, you can selectively enable logging only for some components.
# To enable all selectors use ["*"]. Examples of other selectors are "beat",
# "publish", "service".
logging.selectors: ["*"]

请求的输出 GET _cat/indices/functionbeat- *

yellow open functionbeat-7.10.2-2021.11.02-000001 mPkuXT1rSDaxsKEM0MUI2A 1 1 0 0 208b 208b

请求 GET 函数的输出beat-*/_search?size=1

{
  "took" : 11,
  "timed_out" : false,
  "_shards" : {
    "total" : 1,
    "successful" : 1,
    "skipped" : 0,
    "failed" : 0
  },
  "hits" : {
    "total" : {
      "value" : 0,
      "relation" : "eq"
    },
    "max_score" : null,
    "hits" : [ ]
  }
}

请帮我解决这个问题。提前致谢。

4

0 回答 0