X-Pack 離線安裝

1.查找相應版本的插件elasticsearch

wget https://artifacts.elastic.co/downloads/packs/x-pack/x-pack-6.2.3.zipspa

2.安裝插件

./elasticsearch-plugin install x-packip

/usr/share/elasticsearch/plugins/bin/elasticsearch-plugin install file:///root/x-pack-6.2.3.zipget

配置it

xpack:
  license.self_generated.type: "trial"
  security:
    enabled: false
  ml.enabled: false
  watcher.enabled: false
  monitoring:
    collection.interval: "1m"
    enabled: true
    history.duration: "30d"
    exporters:
      xxx_log:
        type: http
        host: ["http://x.x.x.x:9200"]io

相關文章
相關標籤/搜索