elasticSearch数据的导入和导出

http://wget https://nodejs.org/dist/v10.13.0/node-v10.13.0-linux-x64.tar.gz

解压即可:

1、将索引中的数据导出到本地

myindex 是我的索引

javascript 复制代码
elasticdump --input=http://localhost:9200/myindex--output=/home/date/myindex.json

2、将本地数据导入es中

javascript 复制代码
 elasticdump --input=/home/date/myindex.json --output=http://localhost:9200/myindex

3、将es导入另一个es

javascript 复制代码
elasticdump --input=http://ip:9200/myindex.json--output=http://127.0.0.1:9200/myindex.json
相关推荐
龙腾AI白云1 小时前
多源数据融合:把零散信号拼成一致图景
大数据·人工智能·python·机器学习·知识图谱
Elasticsearch1 小时前
数据摄取路径原本只在某个人的脑子里,Elastic Streams Map 能把它画出来
elasticsearch
字节跳动数据平台1 小时前
知识引擎 VeKnow 文档解析实践:三个评测集验证,从资料入库到可信使用
大数据
岳涛2 小时前
考古|_parent 在 ES 2.0 被重写,老索引不重建就用不上新实现
elasticsearch
Elasticsearch3 小时前
两行,一个文档:在 Logstash 中配对 Elasticsearch 批量操作
elasticsearch
starzy19905 小时前
Structured Streaming 集成 Kafka 实现:读写路径、位点语义与生产调优
大数据·分布式·spark·kafka
starzy19905 小时前
Structured Streaming 案例分析:三个不同形态的流,三套完全不同的答案
大数据·spark·kafka
Aloudata15 小时前
制造企业做库存周转分析:沿用 ERP 报表,还是用语义层统一跨工厂口径?
大数据·数据分析·制造·语义层
顧棟15 小时前
Elasticsearch LifecycleComponent 组件生命周期设计分析
大数据·elasticsearch
qyr678916 小时前
全球汽车和航空航天用磁铁材料市场竞争格局变化趋势
大数据·人工智能·物联网·自动化·汽车和航空航天用磁铁材料