Skip to content

Instantly share code, notes, and snippets.

View evantha's full-sized avatar

Evantha Manikpura evantha

View GitHub Profile
@evantha
evantha / es_reindexer.py
Last active November 16, 2022 14:40
A python script that can copy data from an index or daily indexes from one elasticsearch cluster to another.
#!/usr/bin/env python
__author__ = "Evantha Manikpura"
import datetime
import argparse
from elasticsearch import Elasticsearch
ES_WRITER = None