所以我刚开始使用ELK(实际上只是EK) 我使用PHP和MySQL上传了我的数据 我可以看到Kibana中的所有数据,但每当我尝试创建一个可视化,除了我得到的地图:
No Compatible Fields: The "sample" index pattern does not contain any of the following field types: number, boolean, date, ip or string
这是我的索引。 它显然有类型编号和字符串。
我也尝试过: Kibana5, index pattern does not contain any of the following field types: *
给出错误:
Field Capabilities: 5 of 5 shards failed.
为了弄清楚我尝试过的碎片:
curl 'localhost:9200/_cat/shards?h=index,shard,prirep,state,unassigned.reason'
输出:
sample 1 p STARTED
sample 1 r UNASSIGNED CLUSTER_RECOVERED
sample 4 p STARTED
sample 4 r UNASSIGNED CLUSTER_RECOVERED
sample 3 p STARTED
sample 3 r UNASSIGNED CLUSTER_RECOVERED
sample 2 p STARTED
sample 2 r UNASSIGNED CLUSTER_RECOVERED
sample 0 p STARTED
sample 0 r UNASSIGNED CLUSTER_RECOVERED
.kibana 0 p STARTED
.kibana 0 r UNASSIGNED INDEX_CREATED
我不知道该怎么做。我刚开始用ELK。 我有弹性搜索5.4.1 Kibana 5.4 请帮忙:(
答案 0 :(得分:0)
删除索引模式,然后重新创建