获取 "unable to fetch mapping. do you have indices matching the pattern"

Getting "unable to fetch mapping. do you have indices matching the pattern"

我正在尝试为我的应用程序配置 Kibana/Elasticsearch,但遇到了问题。我得到的错误是:

"unable to fetch mapping. do you have indices matching the pattern",虽然我有一个名为 "twitter" 的索引,如下图所示:

我做错了什么,我该如何匹配索引?我真的被困在这里了。谢谢!

当我尝试从 Twitter 索引中获取数据时,我也得到了响应:

您应该取消选中 Use event times to create index names。正如您提到的索引名称 'twitter' 不是基于时间的索引。

根据教程:

In elasticsearch it is common to store time-based events in multiple indexes to facilitate search and allow for memory optimization. With one index per day, you could then have a naming pattern for the indexes like twitter-2015.01.15, twitter-2015.01.26, and so on. If you store your data like that you should mark the “Use event times to create index names” checkbox.