es2es 
Transfers data between Elasticsearch servers
Installation
pip install es2es
Usage
from es2es import es2es
es2es(origin_endpoint='https://PATH-TO-ENDPOINT',
origin_index='ORIGIN_INDEX',
dest_endpoint='https://PATH-TO-ANOTHER-ENDPOINT',
dest_index='DESTINATION_INDEX')
Advanced usage
origin_endpoint (str): "Path to the endpoint to transfer data from."
origin_index (str): "Index at the endpoint to transfer data from."
dest_endpoint (str): "Path to the endpoint to transfer data to."
dest_index (str): "Index at the endpoint to transfer data to."
origin_method (str, default='GET'): "Method for retrieving data from origin endpoint (e.g. 'GET' or 'POST')."
chunksize (int, default=100): "Number of records to send to the new server in bulk."
scroll (str, default='1m'): "Elasticsearch scroll window."
origin_kwargs (dict, default={}): "Any additional kwargs to add to the http(s) request to the origin endpoint."
dest_kwargs (dict, default={}): "Any additional kwargs to add to the http(s) request to the origin endpoint."
do_transfer_index (bool, default=True): "Flag regarding whether to transfer the index, settings and mapping as well. Set this to False if the index already exists, or you're restarting a transfer."
limit (int, default=None): "Maximum number of 'rows' of data to transfer."
Release files for es2es 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| es2es-0.1.0.tar.gz | 3.7 kB | Details |
Release files / es2es-0.1.0.tar.gz
| Download URL | es2es-0.1.0.tar.gz |
|---|---|
| Size | 3.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
f2a8b181f9095a1683d943365ac077c59854f1dd69ed6e343dc9de8986ebe9b5
|
|
BLAKE2b-256 checksum How to use checksums |
863440250ffa1f61a2cbcf695014979c761973966ec4f676d6cd6a4d7cfba597
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/2.0.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.4.0 requests-toolbelt/0.9.1 tqdm/4.19.1 CPython/3.6.8
|