metricbeat启动失败,blocked by: [FORBIDDEN/12/index read-only / allow delete (api)]

metricbeat启动失败,索引变成只读状态,出现了错误: blocked by: [FORBIDDEN/12/index read-only / allow delete (api)];原因是存储空间变小,导致kibana自动将它变成了只读状态。

解决办法是扩大存储空间或者在kibana中-DevTool中执行代码即可。


PUT _settings
{
  "index": {
    "blocks": {
      "read_only_allow_delete": "false"
    }
  }

你可能感兴趣的:(metricbeat启动失败,blocked by: [FORBIDDEN/12/index read-only / allow delete (api)])