0
我禁用动态映射与无法打开Elasticsearch动态映射在
curl -XPUT 'localhost:9200/_template/template_all?pretty' -H 'Content-Type: application/json' -d' { "template": "*", "order":0, "settings": { "index.mapper.dynamic": false }}'
我想与
curl -XPUT 'localhost:9200/_template/template_all?pretty' -H 'Content-Type: application/json' -d' { "template": "*", "order":0, "settings": { "index.mapper.dynamic": true }}'
它已经证实了它作为真正打开它,但是当我尝试有logstash发送信息给它,在logstash错误日志中我回来了 -
"reason"=>"trying to auto create mapping, but dynamic mapping is disabled"
我该如何实际上重新打开动态映射?