Thanks to visit codestin.com
Credit goes to github.com

Skip to content
/ escp Public

Elasticsearch Copier - Copies ES indexes

License

lytics/escp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

71 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Elasticsearch Copier

Toolkit for copying and validating Elasticsearch indexes.

  • escp copies an index
  • esdiff compares documents in two indexes; intended for validating copies

Usage

# Install all utilities with go get:
go get -v github.com/lytics/escp/...
# Copy srcindex on host1 to dstindex on host2,host3
escp http://host1:9200/ srcindex host2:9200,host3:9200 dstindex
# Check document counts are equal and spot check documents
esdiff http://host1:9200/ srcindex http://host2:9200/dstindex

# Check 25% of documents
esdiff -d 4 http://host1:9200/ srcindex http://host2:9200 dstindex

# Check all documents
esdiff -d 1 http://host1:9200/ srcindex http://host2:9200 dstindex

Other Tools

About

Elasticsearch Copier - Copies ES indexes

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •  

Languages