简体   繁体   English

elasticsearch / Kibana列表字段为“?”,尽管索引中为“文本”,为什么?

[英]elasticsearch/Kibana list field as “?”, although it is “text” in index, why?

I am adding documents to an elastic search 6.1 index using the python elasticsearch module. 我正在使用python elasticsearch模块将文档添加到Elastic Search 6.1索引中。 The data is json and that works nicely. 数据是json,效果很好。

Before adding the data, I generate an additional field 'indexing_results' that contains a list of topics. 在添加数据之前,我会生成一个附加字段'indexing_results',其中包含主题列表。

I find that field in the index (looking via a Kibana interface) but the type is not "t" (text) but "?" 我在索引中找到该字段(通过Kibana界面查看),但类型不是“ t”(文本),而是“?” and I can't find out what makes elastic search / Kibana assume this. 而且我找不到导致弹性搜索的原因/ Kibana假设了这一点。

在此处输入图片说明

When asking Kibana what the type of the new field is in the interface it tells me it is text: 当询问Kibana界面中新字段的类型时,它告诉我它是文本:

在此处输入图片说明

With the type being "?" 类型为“?” it seems I can't use it in Kibana visualisations - it is simply not offered as a field from which to construct charts. 看来我无法在Kibana可视化中使用它-根本就没有将它作为构建图表的领域。 etc. 等等

How can Kibana / elasticsearch be convinced to consider the "indexing_results" field as "text"? 如何说服Kibana / elasticsearch将“ indexing_results”字段视为“文本”?

Try to refresh the index pattern. 尝试刷新索引模式。 Management > Index Pattern, then there is a refresh button on the top right. 管理>索引模式,然后在右上角有一个刷新按钮。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM