I am using elastic search 1.4.2 for storing application logs.
We have defined an index mapping, which is generally applied during deployment and upgrade process.
However, if there's anything failing at that point or there's a request to push a log/document into elastic search by that time, then elastic search creates an index with default mapping. This is what I want to avoid.
Is there a way to error all push document calls to elastic search unless index was explicitly created with mappings.
If not, I might have to apply this check explicitly all the time before pushing any log entry into elastic search.
Appreciate your inputs!