Basic ElasticSearch indexing, mapping.
Bits of logging, and create ES index only once.