Create elasticsearch.py