elasticsearch 搜索完整单词,elasticsearch,kibana,collectd,elasticsearch,Kibana,Collectd" /> elasticsearch 搜索完整单词,elasticsearch,kibana,collectd,elasticsearch,Kibana,Collectd" />

elasticsearch 搜索完整单词

elasticsearch 搜索完整单词,elasticsearch,kibana,collectd,elasticsearch,Kibana,Collectd,现在我正在为公司做一个小项目。我必须将Grafana更改为elastic collectd数据源。但现在我面临的问题是,我正在搜索类型_实例:port-channel42。我可以搜索以下内容: host:"host-1" and plugin:snmp and collectd_type:if_octets and type_instance:"port-" 把这个拿出来: 主持人: 主机1 插件: snmp 键入“”实例: 端口通道1257 收集类型:

现在我正在为公司做一个小项目。我必须将Grafana更改为elastic collectd数据源。但现在我面临的问题是,我正在搜索类型_实例:port-channel42。我可以搜索以下内容:

host:"host-1" and plugin:snmp and collectd_type:if_octets and type_instance:"port-"
把这个拿出来:

主持人: 主机1 插件: snmp 键入“”实例: 端口通道1257 收集类型: if_八位组 德克萨斯州: 123,392,862,080,243.016 类型: 收集 @版本: 1. @时间戳: 2020年9月9日@11:44:20.338 接收: 73,221,669,458,084.984 身份证件: 21tAcnQBk9LfI6whcwj _类型: _医生 _索引: 收集日期:D-09-2020.09.09 _分数: -

但是如果我输入完整的单词(键入_实例:“port-channel42”:

我得到以下输出:

没有与您的搜索条件匹配的结果

我用的是Kibana7.9.0

我必须进入港口通道吗

感谢您的帮助!

索引时间标记(从索引文档生成)应与搜索时间标记(从搜索词生成)匹配,在您的情况下,它不会发生,这是导致搜索查询结果不出现的原因


请分享您的映射,以便我能够准确地指出问题并提出解决方案。

我已经找到了解决问题的方法。但感谢您的帮助!
host:"host-1" and plugin:snmp and collectd_type:if_octets and type_instance:"port-channel42"