Kibana 发现未显示索引中的所有类型

Kibana discovery not showing all types within an index

我有一个弹性搜索索引,其中包含五种不同类型的文档。

我总共有 50,000 个文档,每个映射类型包含 10,000 个文档。

index name : fruits
mapping types : apple, orange, banana, papaya, grapes.

现在我用kibana索引弹性搜索

当我在发现选项卡中点击 * 时,它仅显示 10,000 个 grapes 类型的文档。 其他文件未显示。

但是当我在 Kibana 中使用 developer console 时,匹配所有查询显示 50,000 个文档。

How can I index all documents into Kibana? or How can I change mapping types to view other documents of different types?

默认情况下,Kibana 在 discover 页面中显示前 500 行。如果您想查看更多行,则需要将以下设置修改为所需的数字(在您的情况下为 50000)来自 Advanced Settings:

discover:sampleSize (Default: 500) The number of rows to show in the table

您可以阅读更多关于 kibana 高级设置的信息 here

  • 最初我勾选了 'Index contains time-based events' 文档索引。
  • 但是有些映射类型不是基于时间的事件。

所以那些文件没有显示