【发布时间】:2021-01-04 08:36:22
【问题描述】:
我正在运行“docker.elastic.co/beats/filebeat:7.9.1”
在 filebeat.yml 中,我配置为将一些字段附加到模板中
setup.template.overwrite: true
setup.template.append_fields:
- name: level
type: text
- name: msg
type: text
- name: stacktrace
type: text
- name: uri
type: text
- name: headers
type: text
这很好用。但是一旦我添加了该字段:
- name: hash
type: keyword
我收到以下错误:
INFO template/load.go:169 Existing template will be overwritten, as overwrite is enabled.
ERROR [publisher_pipeline_output] pipeline/output.go:154 Failed to connect to backoff(elasticsearch(https://whatever.eu-central-1.aws.cloud.es.io:443)): Connection marked as failed because the onConnect call back failed: error loading template: error creating template: 1 error: fields contain key <hash>
Elasticsearch 版本为 v7.10.0。
发生了什么事?
【问题讨论】: