You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently, if one wants to use complex logic for getting index name for document, there are two options:
Use patterns to construct an index name
Implement index name as part of transformation steps before persisting to Elasticsearch and add extra field to resulting document.
If logic is very complex then the first option is either to hard or impossible to implement. With the second option, extra field can be eliminated with es.mapping.exclude feature.
Unfortunately, es.mapping.exclude feature is ignored when es.input.json is specified. So, currently it is impossible to use complex logic, json input and have no extra fields in mapping.
I propose to add an INDEX option to document metadata to provide an explicit index for document.
Same thoughts can be applied to type of a document.