Simple opslog script with Python and Elasticsearch