zoukankan      html  css  js  c++  java
  • elasticsearch License 到期后更新步骤

     

    ELK下载安装后有一个月试用期,到期后需要更新License,且每个License有效期为 1 年,License过期前10天里相关log会一直出现,提醒用户更新,支持实时更新无需重启服务

    步骤:

    1、https://register.elastic.co/registration 网址上注册,成功后ELK会向注册邮箱发送邮件,下载你的License,如图:

     

     

    2、启动elasticsearch,使用curl命令向其发起更新License请求,输入密码。
    curl -XPUT -u elastic http://127.0.0.1:9200/_xpack/license -H "Content-Type: application/json" -d @*************-8ce0-46ee-886e-ab2d8d7ffd86-v5.json

     

     

     

    若返回上面的信息,则加上 ?acknowledge=true
    curl -XPUT -u elastic http://127.0.0.1:9200/_xpack/license?acknowledge=true -H "Content-Type: application/json" -d @*************-8ce0-46ee-886e-ab2d8d7ffd86-v5.json

     

     

     

    出现上述字样,则更新成功。

     

    3、同时我们可以在elasticsearch服务中看到:

     至此,LICENSE更新成功。

  • 相关阅读:
    P1891 疯狂LCM
    P2568 GCD
    P1516 青蛙的约会和P2421 [NOI2002]荒岛野人
    P4168 蒲公英
    P5960 差分约束算法模板
    P2024 食物链(种类并查集)
    CF1328E Tree Queries
    CF1328B K-th Beautiful String
    dij-spfa乱搞
    P1993 小K的农场
  • 原文地址:https://www.cnblogs.com/yourstars/p/8244666.html
Copyright © 2011-2022 走看看