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."
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
es2es-0.1.0.tar.gz
(3.7 kB
view details)
File details
Details for the file es2es-0.1.0.tar.gz.
File metadata
- Download URL: es2es-0.1.0.tar.gz
- Upload date:
- Size: 3.7 kB
- Tags: Source
- Uploaded using 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
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f2a8b181f9095a1683d943365ac077c59854f1dd69ed6e343dc9de8986ebe9b5
|
|
| MD5 |
cd14b703c5cff9089504ca0d254afade
|
|
| BLAKE2b-256 |
863440250ffa1f61a2cbcf695014979c761973966ec4f676d6cd6a4d7cfba597
|