add auto-config of elasticsearch (create index + mapping) on launch, if it is missing