所以我刚开始使用 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,索引模式不包含以下任何字段类型:*
这给出了一个错误:
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。我有 elasticsearch 5.4.1 Kibana 5.4 请帮助:(