es-copy-index.pl - Copy an index from one cluster to another
version 1.3
es-copy-access.pl [index]
Options:
--from A server in the cluster where the index lives --to A server in the cluster where the index will be copied to --rename Change the name of the index on the destination --help print help --manual print full manual --verbose Send additional messages to STDERR
This uses the reindex API to copy data from one cluster to another
Example:
es-copy-index.pl --from localhost --to remote.cluster.com logstash-2013.01.11
REQUIRED: hostname or IP of the source cluster
REQUIRED: hostname or IP of the destination cluster
Optional: change the name of the index on the destination cluster
Print this message and exit
Print detailed help with examples
Brad Lhotsky <brad@divisionbyzero.net>
This software is Copyright (c) 2012 by Brad Lhotsky.
This is free software, licensed under:
The (three-clause) BSD License
To install App::ElasticSearch::Utilities, copy and paste the appropriate command in to your terminal.
cpanm
cpanm App::ElasticSearch::Utilities
CPAN shell
perl -MCPAN -e shell install App::ElasticSearch::Utilities
For more information on module installation, please visit the detailed CPAN module installation guide.