alerting-kibana-plugin
alerting-kibana-plugin copied to clipboard
Monitoring UI does not allow wildcards in index names
Creating an alert, in the Define Monitor portion of the page, you specify the index. When I start typing, I get a drop down with possible choices that are specific indexes. I want to run the alert over an index pattern, like logs-*. I need to have that choice in the menu.
If, I type logs-* into the text box, and escape from the drop down, then the UI errors, asking me to set an index name.

Hi Jon, please take a look at the answer here.
When completing the index name, hit enter and the UI will no longer show an error.
Can you add what the user has typed so far, with a trailing * to the dropdown in position 0? Then if I click that I won't see the error.
Or remove the error if I typed a wildcard that matches one or more of my indexes.
Hi Jon,
Did this help text not show up for you?
Better!
It would be great to avoid the error state entirely, since it's not really an error.
Hi Jon,
In this case, typing and hitting esc is an error since you did not actually select (or create) an option and this is field requires at least one option selected. Perhaps it's a bit confusing since it's not just a text input box, but rather a combo box that Elastic has created. This would be the equivalent of selecting an input and then moving on without typing anything. We can definitely make the error text more helpful in this situation so the user can easily remedy the problem.
This is a minor point, and I'm happy with the solution proposed: better error text and messaging in the combo box to hit enter.
To nitpick, though, if I've typed something then I have "made a selection". The widget should allow either user-entered text or a selection from the attached menu. Minor point, but I disagree that typing something and hitting escape is an error on my part. The text box on Kibana's "Management" page for selecting an index pattern works this way - it's a text box and Kibana also gives me an auto-updated list of possible matches I can click on. It would be more consistent to have that experience.
Yes, that is true for Kibana's "Management" page because it only allows you to select one index. This UX for Alerting allows you to select multiple indices which means we need you to explicitly select the indices. If this looks to still be an issue after better messaging then perhaps we can revisit with a different UI component.
Thanks!