Setting up ElasticSearch as the logging database