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"
我該如何實際上重新打開動態映射?