elastic dump安装
npm install -g cnpm --registry=https://registry.npm.taobao.org
npm install elasticdump -g
elastic dump基本使用
elasticdump --input=https://elastic:'111@tn111333'@10.246.181.6:9200/prob_file_description_202312 --input-cert=/home/secure/canew.crt --limit=80000 --output-cert=/home/secure/ca.crt --output=https://elastic:'444444@2024'@10.30.98.107:9200/full_flow_file_202312
dump ended with error (get phase) => Error: unable to verify the first certificate
https集群迁移
NODE_TLS_REJECT_UNAUTHORIZED=0
NODE_TLS_REJECT_UNAUTHORIZED=0 elasticdump --input=https://elastic:'111@tn111333'@10.246.181.6:9200/prob_file_description_202312 --input-cert=/home/secure/canew.crt --limit=80000 --output-cert=/home/secure/ca.crt --output=https://elastic:'444444@2024'@10.30.98.107:9200/full_flow_file_202312
工具配置忽略证书
unable to verify the first certificate
自签名证书默认是不受信任的证书,一般可以通过选项参数设置是否忽略证书验证
标签:file,dump,elastic,--,https,es,9200 From: https://www.cnblogs.com/yxh168/p/18069885