-
Notifications
You must be signed in to change notification settings - Fork 934
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
Create index templates directly in OpenSearch Dashboards #981
Comments
I was surprised to know this feature is missing from the Dashboards. |
Hi @spapadop, thanks for sharing your use cases and suggestions. A few follow-up questions:
^ What type of errors do you find see while creating index templates? This will be super helpful on understanding how/where the UI can help users prevent errors or invalid selections beforehand.
^ Would this be related to defining index mapping during template creation?
^ Can you elaborate on this? While a user is creating the template, would this be a dry-run or preview of index creation using the template? What would you expect to see as the result of the dry-run/preview? |
Hi everyone, I am working on the UX for creating and managing index templates. Looks like there's great interest in having index templates in the Dashboards. I would like to learn more on how you use index templates:
Your feedback and suggestions would be super helpful on defining the index template experience. Thanks! |
Hi @kamingleung, apologies for the late answer.
If I get your question right, yes. There should be a page in UI (I guess under index management plugin) where we should create the templates with the suggested "wizard" (i.e. visual editor, just like when defining index policies)
When creating the index template I must be having some kind of documents in mind, that will actually end up on the respective index. Imagine having a doc like:
Once the template is created (or at least when I am happy with the work I've done with it) it would be nice to paste that json (or import it from file). Then the software can analyse the arriving document against the template and produce some errors/warning. For example:
Hope this helps! |
+1 for getting this into Dashboards |
+1 |
I'd ask for the option to just upload a premade template.json file, "à la curl". Thanks! |
Is your feature request related to a problem? Please describe.
Defining index templates is important and currently only possible through APIs.
As a result, validations (e.g. typos) are only applied after the whole index template creation request has been sent. Often times, templates are being pushed using a script, so the errors are possibly fixed too late, possibly requiring reindexing.
Describe the solution you'd like
It would be nice if UI offers a dedicated user-friendly process where people can define their templates. Few ideas on that:
Describe alternatives you've considered
Currently we store, maintain and push index templates through a respective git repo for each cluster. We could perform validations through e.g. GitLab pipelines, but again that's only after a template has been defined. And of course, it can never be as user-friendly as on Dashboards UI.
The text was updated successfully, but these errors were encountered: