-
Notifications
You must be signed in to change notification settings - Fork 25k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Improve "put template" error message and documentation of disallowed characters #55606
Comments
Pinging @elastic/es-core-features (:Core/Features/Indices APIs) |
Pinging @elastic/es-docs (>docs) |
Hi @hatharom, you can find the code checking the validity of the index patters in MetaDataIndexTemplateService. Looking at this, the following characters seem to be forbidden: |
@hatharom hope you don't mind me changing the subject of this issue, so its clear its not just a usage question. For pure usage questions we generally prefer asking in the support forums over at https://discuss.elastic.co so we can keep Github issues only for bug reports and feature requests, but since the error message is misleading and the |
Is someone working on this ? @hatharom , @cbuescher . If not, can i work on this? |
Couldn't find anything in the documentation.
The examples are with *.
I have tried with ? - while PUT-ing a template - which was rejected:
"index_patterns": ["test?"]
response:
which is interesting because the error message contains the * as well.
How can I define an index pattern for this?: prefix-anyword-number
right now I am doing this: prefix-- , which is terrible imo.
Or is it only supports the asterisk?
The text was updated successfully, but these errors were encountered: