Zipkin + Elasticsearch(ELK)无法创建索引

时间:2018-10-24 15:10:14

标签: linux elasticsearch centos7 zipkin

大家好!

在CentOS 7 x86_64(内核3.10.0-862.11.6.el7.x86_64)中,我的“ ELK”(6.4.2)与filebeat,metricbeat,packetbeat和winlogbeat完美结合。

我正在尝试集成zipkin + elk(请参阅https://logz.io/blog/zipkin-elk/),但是Elasticsearch不会使用Kibana创建索引。

尝试在Kibana中创建索引时,该过程不会结束。 (请遵循以下日志)。

我怀疑zipkin连接驱动程序与麋鹿6.4.2不兼容。有谁遇到过同样的问题,并且“隧道尽头有光”?

感谢所有人!

Java版本:

java version "1.8.0_181"
Java(TM) SE Runtime Environment (build 1.8.0_181-b13)
Java HotSpot(TM) 64-Bit Server VM (build 25.181-b13, mixed mode)

Zipkin启动:

java -DSTORAGE_TYPE=elasticsearch -DES_HOSTS=http://localhost:9200 -jar /opt/zipkin.io/bin/zipkin.jar

Elasticsearch中的错误日志:

[2018-10-24T11:31:59,933][WARN ][o.e.d.i.m.MapperService  ] Setting index.mapper.dynamic is deprecated since indices may not have more than one type anymore.
[2018-10-24T11:31:59,936][WARN ][o.e.d.i.m.MapperService  ] [_default_] mapping is deprecated since it is not useful anymore now that indexes cannot have more than one type
[2018-10-24T11:31:59,954][WARN ][o.e.d.i.m.MapperService  ] Setting index.mapper.dynamic is deprecated since indices may not have more than one type anymore.
[2018-10-24T11:32:00,033][WARN ][o.e.d.c.m.MetaDataCreateIndexService] index or alias name [zipkin:span-2018-10-24] containing ':' is deprecated and will not be supported in Elasticsearch 7.0+
[2018-10-24T11:32:00,245][WARN ][o.e.d.i.m.MapperService  ] Setting index.mapper.dynamic is deprecated since indices may not have more than one type anymore.
[2018-10-24T11:33:47,717][WARN ][o.e.d.a.a.i.t.p.PutIndexTemplateRequest] Deprecated field [template] used, replaced by [index_patterns]

2 个答案:

答案 0 :(得分:0)

以下是相关问题:

we also mentioned recently that for data to appear, applications need to be
sending traces

https://github.com/openzipkin/zipkin#quick-start

you can tell also by hitting the /metrics endpoint and look at stats named
collector

https://github.com/openzipkin/zipkin/issues/1939

答案 1 :(得分:0)

我在zipkin github上打开了一个问题,该主题已被视为错误。

初始线程: https://github.com/openzipkin/zipkin/issues/2218#issuecomment-432876510

错误跟踪: https://github.com/openzipkin/zipkin/issues/2219

感谢所有人!