zoukankan      html  css  js  c++  java
  • Kibana 创建索引 POST 403 (forbidden) on create index

    一、问题描述:

    Kibana创建索引:kibana > management > index patterns > create index pattern

    索引名称: merchant-receipt-log-2019.06.04

    点击创建按钮后,什么也没发生, 索引没有创建成功。

    打开浏览器开发工具【f12】

    发现如下错误:

    POST http://ip:5601/api/saved_objects/index-pattern 7 403 (forbidden)

     二、问题分析:

    Kibana控制台查看索引:kibana > dev tools > console

    输入命令:GET _cat/indices

    索引有数据:

    三、问题原因:

      merchant-receipt-log-2019.06.04索引变成只读状态,出现了错误原因是存储空间变小,导致kibana自动将它变成了只读状态。 

    四、解决方案:

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

    1 PUT _settings
    2 {
    3   "index": {
    4     "blocks": {
    5       "read_only_allow_delete": "false"
    6     }
    7   }
    8 }

  • 相关阅读:
    SpringSecurity开发
    SpringBoot 集成Spring Security
    Hexo
    gitbook使用
    Maze
    Party
    A. DZY Loves Chessboard
    1042B. Vitamins
    Petr and a Combination Lock
    433B.Kuriyama Mirai's Stones
  • 原文地址:https://www.cnblogs.com/caoweixiong/p/10972120.html
Copyright © 2011-2022 走看看