Kibana ,无法创建索引
Kibana , can't create an index
我是 Kibana 的新手。我想创建一个索引,但下一步按钮不启用。我尝试了很多词,但没有改变。
enter image description here
要创建索引模式,您的索引中必须至少有一个文档,否则不会出现任何建议。从您的评论中,我了解到您创建了 4 倍的索引,但它没有显示在您的可视化部分。让我们看看为什么会这样?
当您使用以下命令使用任何映射创建索引时。例如:
PUT /customer
它在 创建索引模式 部分不可见,因为您刚刚创建了索引,上面没有任何文档,但是如果您在 尝试以下命令first or after index creation you can see the index name suggestion while creating the index pattern
PUT /customer/cu/1?pretty
{
"name": "John Doe"
}
在这里查看我的附件图片。所以要查看你的索引名称
管理 菜单在索引内的文档上 至少 创建。
也可能与 elastic 设置了 read_only_allow_delete
标志有关。
您需要将此标志设置为 null
运行 此命令。 curl -XPUT -H "Content-Type: application/json" http://localhost:9200/_all/_settings -d '{"index.blocks.read_only_allow_delete": null}'
我是 Kibana 的新手。我想创建一个索引,但下一步按钮不启用。我尝试了很多词,但没有改变。 enter image description here
要创建索引模式,您的索引中必须至少有一个文档,否则不会出现任何建议。从您的评论中,我了解到您创建了 4 倍的索引,但它没有显示在您的可视化部分。让我们看看为什么会这样?
当您使用以下命令使用任何映射创建索引时。例如:
PUT /customer
它在 创建索引模式 部分不可见,因为您刚刚创建了索引,上面没有任何文档,但是如果您在 尝试以下命令first or after index creation you can see the index name suggestion while creating the index pattern
PUT /customer/cu/1?pretty
{
"name": "John Doe"
}
在这里查看我的附件图片。所以要查看你的索引名称 管理 菜单在索引内的文档上 至少 创建。
也可能与 elastic 设置了 read_only_allow_delete
标志有关。
您需要将此标志设置为 null
运行 此命令。 curl -XPUT -H "Content-Type: application/json" http://localhost:9200/_all/_settings -d '{"index.blocks.read_only_allow_delete": null}'