The requested URL was not found on this server. 不管你信不信,反正我是没找到

logstash 数据迁移

Logstash | 作者 juin | 发布于2018年08月02日 | 阅读数:2781

大佬们问个问题:使用logstash 将索引数据从6.3 迁移到低版本的5.2,
而高版本的es 使用了search guard 加密,那我应该怎么写logstash 的input(业务场景先不说了.....)
 
帐号 密码 ssl证书啥的在input 应该怎么定义
已邀请:

medcl - 今晚打老虎。

赞同来自:

直接使用 reindex 不就可以了,
https://www.elastic.co/guide/e ... emote
POST _reindex
{
  "source": {
    "remote": {
      "host": "http://otherhost:9200",
      "username": "user",
      "password": "pass"
    },
    "index": "source",
    "query": {
      "match": {
        "test": "data"
      }
    }
  },
  "dest": {
    "index": "dest"
  }
}

要回复问题请先登录注册