Send logs to elasticsearch