首页 > 其他分享 >elastic-dump迁移es集群

elastic-dump迁移es集群

时间:2024-03-13 09:58:14浏览次数:22  
标签:file dump elastic -- https es 9200

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

相关文章

  • 06-TDesign组件库
    TDesign具有统一的价值观,一致的设计语言和视觉风格,帮助用户形成连续、统一的体验认知。在此基础上,TDesign提供了开箱即用的UI组件库、设计指南和相关设计资产,以优雅高效的方式将设计和研发从重复劳动中解放出来,同时方便大家在TDesign的基础上扩展,更好的的贴近业务需求。......
  • 界面开发框架DevExpress XAF v24.1新版预告 - 跨平台应用UI(二)
    DevExpressXAF是一款强大的现代应用程序框架,允许同时开发ASP.NET和WinForms。XAF采用模块化设计,开发人员可以选择内建模块,也可以自行创建,从而以更快的速度和比开发人员当前更强有力的方式创建应用程序。本文中的内容概述了XAF跨平台.NET应用UI和DevExpress.NETApp、WebAPI服......
  • 什么是Elasticsearch?
     介绍  当人们问“什么是Elasticsearch?”时,有些人可能会回答说它是“一个索引”,“一个搜索引擎”,“分析数据库”,“一个大数据解决方案”,“它快速且可扩展”,或者“它有点像谷歌”。根据您对这项技术的熟悉程度,这些答案可能会使您更接近啊哈时刻,或者让您进一步困惑。但事......
  • 【Express】mysql2 操作 MySQL 数据库
    db.config.yamldb:user:rootpassword:'root'host:localhostport:3306database:my_db_01importexpressfrom"express";importfsfrom"fs";importmysql2from"mysql2/promise";importjsyamlfrom�......
  • CodeForces 1874E Jellyfish and Hack
    洛谷传送门CF传送门显然\(\text{fun}(P)_{\max}=\frac{|P|(|P|+1)}{2}\)。考虑大力dp,设\(f_{i,j,k}\)为\(|P|=i\),\(P_1=j\),\(\text{fun}(P)=k\)的排列\(P\)的个数。此时\(|L|=j-1,|R|=i-j\)。转移枚举\(L_1,R_1,\text{fun}(L),\text{fun}(R......
  • Codeforces Round 933 (Div. 3)
    CodeforcesRound933(Div.3)AA-RudolfandtheTicket暴力查看代码voidsolve(){intn,m,k;cin>>n>>m>>k;vector<int>b(n),c(m);for(inti=0;i<n;++i)cin>>b[i];for(inti=0;i<m;++i)cin>>c[i];......
  • Codeforces Round 933 (Div. 3)
    CodeforcesRound933(Div.3)A-RudolfandtheTicket解题思路:暴力。代码:#include<bits/stdc++.h>usingnamespacestd;usingll=longlong;usingpii=pair<ll,ll>;#definefifirst#definesesecondusingpiii=pair<ll,pair<ll,ll>&......
  • GDCM:读取DICOM Series(附完整源码)
    GDCM:读取DICOMSeries以下是一个使用GDCM(GrassrootsDICOM)库读取DICOM系列的示例代码:#include<iostream>#include"gdcmReader.h"#include"gdcmFile.h"#include"gdcmFileHelper.h"#include"gdcmGlobal.h"#include"gdcmSyst......
  • GDCM:实现使用gdcm::Series类进行DICOM的序列化和反序列化操作(附完整源码)
    GDCM:实现使用gdcm::Series类进行DICOM的序列化和反序列化操作下面是一个使用GDCM库中的gdcm::Series类进行DICOM序列化和反序列化操作的示例代码:#include<iostream>#include"gdcmReader.h"#include"gdcmWriter.h"#include"gdcmGlobal.h"#include"gdcmSystem.......
  • [Rust] Thread 5: Message passing by using channel
    Achannelhastwohalves:atransmitterandareceiver.Thetransmitterhalfistheupstreamlocationwhereyouputrubberducksintotheriver,andthereceiverhalfiswheretherubberduckendsupdownstream.Onepartofyourcodecallsmethodsonthe......