Package elastic provides an implementation of a storage that index/get documents to/from Elasticsearch 6.x.
This store can only manage logs and events for the moment. It will fail if you try to use it for other store types.
NewStore returns a new Elastic store.
Since the elastic store can only manage logs or events, it will panic is it's configured for anything else.
At init stage, we display ES cluster info and initialise indexes if they are not found.