• 氧气🌙 🐟 🌺
    2019-09-29
    视频中网址 /Users/yiruan/Downloads/Elastic%20认证%202/index.html的内容如何访问了?阮老师的良心作品。

    作者回复: 我忘记上传了,明天早上会传递到我的github里。放在part-5 ece目录下,你中午去取应该就可以看到

     2
     4
  • / _在路上。
    2019-10-18
    我怎么找不到这个index.html,求助

    作者回复: 在我的github上 极客时间folk我的

    
     1
  • 氧气🌙 🐟 🌺
    2019-10-10
    回答:
    视频中/Users/yiruan/Downloads/Elastic%20认证%202/index.html的内容从以下网址下载:
    https://github.com/onebirdrocks/geektime-ELK
    路径:geektime-ELK/part-5/elastic认证
    切记:一定是用git命令下载。

    作者回复: 你现在可以正常用浏览器访问了?👍

     2
     1
  • 铭毅天下(公众号)
    2020-02-08
    https://mp.weixin.qq.com/s/ajD8Bq-N-NhemlrD2sduZg

    认证通过经验贴 感谢阮老师
    
    
  • 喵喵喵
    2020-01-21
    打卡~
    
    
  • 跳动的心
    2019-12-29
    配置 3节点的集群,同时满足以下要求->不允许删除数据的情况下,保证集群状态为 Green ,这句话能解释下吗?具体是怎么做的?请教下哈

    作者回复: 也就是说,会给你一个集群,health的状态是红色。你需要通过查看各种API,找到分片不能分配的原因。因为,如果你通过删除索引,确实可以让集群变绿,但是会导致数据丢失,所以,考试的会要求你不能删除任何数据

    
    
  • Cybertrunk
    2019-10-21
    《《《 接上一条留言

    启动第二个节点时遇到了新问题:都是在一台机器上http的port不能绑在同一个端口号上。
    [2019-10-21T16:58:45,152][WARN ][o.e.b.BootstrapChecks ] [node2] the default discovery settings are unsuitable for production use; at least one of [discovery.seed_hosts, discovery.seed_providers, cluster.initial_master_nodes] must be configured
    ...
    [2019-10-21T16:58:46,539][WARN ][o.e.b.ElasticsearchUncaughtExceptionHandler] [node2] uncaught exception in thread [main]
    org.elasticsearch.bootstrap.StartupException: BindHttpException[Failed to bind to [9200]]; nested: BindException[Address already in use];
    ...
    Caused by: org.elasticsearch.http.BindHttpException: Failed to bind to [9200]
    ...
    Caused by: java.net.BindException: Address already in use
    ...
    好解决,只对coordinator节点进行http访问,把模拟题改一改,再起一个单独的coordinator节点,然后只有这个节点指定http.port,也便于之后的Kibana访问。
    展开
    
    
  • Cybertrunk
    2019-10-21
    对ES的感觉是逐渐好了起来啊!趟了那么多的开源产品,ES做得确实棒,值得进一步的智力投资。
    
    
  • Cybertrunk
    2019-10-21
    哈哈,被我猜到了,
    把前缀补全就OK了。
    ssl.keystore.password -> xpack.security.transport.ssl.keystore.password
    ssl.truststore.password -> xpack.security.transport.ssl.truststore.password
    然后添加上针对http的keystore password
    xpack.security.http.ssl.keystore.password=changeme
    xpack.security.http.ssl.truststore.password=changeme

    完整的命令行:
    ./bin/elasticsearch -Ecluster.name=geektime -Enode.name=node1 -Epath.data=node1_data -Epath.logs=node1_log -Enode.master=true -Enode.data=false -Enode.ingest=false -Enode.ml=false -Expack.security.enabled=true -Expack.security.transport.ssl.enabled=true -Expack.security.transport.ssl.verification_mode=certificate -Expack.security.transport.ssl.keystore.path=certs/elastic-certificates.p12 -Expack.security.transport.ssl.truststore.path=certs/elastic-certificates.p12 -Expack.security.http.ssl.enabled=true -Expack.security.http.ssl.keystore.path=certs/elastic-certificates.p12 -Expack.security.http.ssl.truststore.path=certs/elastic-certificates.p12 -Ehttp.port=9200 -Expack.security.transport.ssl.keystore.password=changeme -Expack.security.transport.ssl.truststore.password=changeme -Expack.security.http.ssl.keystore.password=changeme -Expack.security.http.ssl.truststore.password=changeme
    展开
    
    
  • Cybertrunk
    2019-10-21
    在启动ES的命令行中如何带上keystore的密码,生成基于ca的授权证书时输入了密码,启动时报failed to decrypt safe contents entry,感觉是启动时访问证书需要密码,但是如何在命令行中指定密码呢?实在不行只有搞成那种不带密码的证书了。

    执行的命令行:
    ./bin/elasticsearch -Ecluster.name=geektime -Enode.name=node1 -Epath.data=node1_data -Epath.logs=node1_log -Enode.master=true -Enode.data=false -Enode.ingest=false -Enode.ml=false -Expack.security.enabled=true -Expack.security.transport.ssl.enabled=true -Expack.security.transport.ssl.verification_mode=certificate -Expack.security.transport.ssl.keystore.path=certs/elastic-certificates.p12 -Expack.security.transport.ssl.truststore.path=certs/elastic-certificates.p12 -Expack.security.http.ssl.enabled=true -Expack.security.http.ssl.keystore.path=certs/elastic-certificates.p12 -Expack.security.http.ssl.truststore.path=certs/elastic-certificates.p12 -Ehttp.port=9200 -Essl.keystore.password=changeme -Essl.truststore.password=changeme

    指定了 ssl.keystore.password 和 ssl.truststore.password 也不行,不太确定是这两个参数是否是有效解决这个问题所需的参数。

    错误信息:
    [2019-10-21T16:33:55,076][WARN ][o.e.b.ElasticsearchUncaughtExceptionHandler] [node1] uncaught exception in thread [main]
    org.elasticsearch.bootstrap.StartupException: java.lang.IllegalStateException: failed to load plugin class [org.elasticsearch.xpack.core.XPackPlugin]
    ...
    Caused by: java.lang.IllegalStateException: failed to load plugin class [org.elasticsearch.xpack.core.XPackPlugin]
    ...
    Caused by: java.lang.reflect.InvocationTargetException
    ...
    Caused by: org.elasticsearch.ElasticsearchSecurityException: failed to load SSL configuration [xpack.security.http.ssl]
    ...
    Caused by: org.elasticsearch.ElasticsearchException: failed to initialize SSL TrustManager
    ...
    Caused by: java.io.IOException: keystore password was incorrect
    ...
    Caused by: java.security.UnrecoverableKeyException: failed to decrypt safe contents entry: javax.crypto.BadPaddingException: Given final block not properly padded. Such issues can arise if a bad key is used during decryption.
    没法贴全,字数超了。
    展开
    
    
  • cap-ljf
    2019-10-18
    老师,可以加一个模拟测试的参考 答案吗,自己做了可能想看看跟你的有什么区别。

    作者回复: 有很多测试都是基于一些实际操作的。很难给出参考答案,我在课程的readme中放了几个官方放出的攻略视频,你可以看一下

    
    
  • Geek_96e358
    2019-10-10
    老师考点汇总文档目前还是没法下载

    作者回复: 到我的github repo 而不是geektime的

    
    
  • 氧气🌙 🐟 🌺
    2019-10-08
    In an index mapping, one field uses analyzer "english"; When search, is it true that using the default analyzer same as field mapping?

    https://www.elastic.co/guide/en/elasticsearch/reference/7.1/search-analyzer.html
    By default, queries will use the analyzer defined in the field mapping, but this can be overridden with the search_analyzer setting.
    展开
    
    
我们在线,来聊聊吧