Elasticsearch Create Index Python Function Example With Variables