AWS elastic-search. FORBIDDEN/8/index write (api). Unable to write to index

后端 未结 4 1778
盖世英雄少女心
盖世英雄少女心 2021-02-06 22:00

I am trying dump a list of docs to an AWS elastic-search instance. It was running fine. Then, all of sudden it started throwing this error:

{ _index: \'

        
4条回答
  •  误落风尘
    2021-02-06 22:34

    ES could apply write block on index during rollovers, or Low disk space or memory.

    In order to stop these errors you need to remove the write block on the index by setting index.blocks.write to false

    curl -X PUT -H "Content-Type: application/json" 'http://localhost:9200/{index_name}/_settings' -d '{ "index": { "blocks": { "write": "false" } } } '

提交回复
热议问题