Added check for ElasticSearch to transfer/ingest tabs.
Added ElasticSearch diagnosis to error logic.
Added function to check mapping.