gpt4 book ai didi

linux - Zipkin + Elasticsearch (ELK) 不创建索引

转载 作者:太空宇宙 更新时间:2023-11-04 11:59:47 25 4
gpt4 key购买 nike

大家好!

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

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

尝试在 Kibana 中创建索引时,过程不会结束。 (按照下面的日志)。

我怀疑 zipkin 连接驱动程序与 elk 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]

最佳答案

这是相关的问题:

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

关于linux - Zipkin + Elasticsearch (ELK) 不创建索引,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/52972425/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com