-
Notifications
You must be signed in to change notification settings - Fork 8.3k
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
wildcard doesn't get appended to my ccs index pattern *:makelogs- #16691
Comments
This isn’t unexpected actually. If you type a * as the first character, the code won’t append another wildcard. I’ll look more but I’m not sure if I’d consider this a bug |
Its unexpected from my user point of view. And it makes it difficult to code around in automated tests.
I could code-around this special case, but it seems like the UI should be putting an |
So maybe the code should consider the next character if you type in an initial |
@chrisronline that sounds like it would work. But I don't think it fixes the most general case. This probably isn't required often but what if I want I've also had problems where the VM running my Kibana is slow and when I type BTW. I wasn't sure what you would do with this issue or when, so I DID already work-around this in our Cross Cluster Search tests in the integration-test repo. It's not pretty but it works. |
Pinging @skearns64 for thoughts here |
This sounds like it's mostly an automated test problem. If you were a live user, you'd see that the * wasn't being appended after you typed the leading *, and you'd be able to add it. If we were going to try to address this now, I would vote for taking into account the syntax for cross-cluster search (e.g. Personally, I expect we'll get more user feedback about the process of adding an index pattern over time, and we'll want to improve the UX, but I would vote to wait for a more clear set of feedback from a few sources and try to address the broader set of feedback. |
I'm OK with that. Maybe we'll get some usability feedback at the Elastic{ON} session on it. |
Cool. This thing is fairly wonky and it's not something we do often so it might always be a battle of what's more important |
Pinging @elastic/kibana-app-services (Team:AppServices) |
Kibana version: 6.2.2 SNAPSHOT
Elasticsearch version: 6.2.2 SNAPSHOT
Server OS version: Ubuntu
Browser version: Chrome
Browser OS version: Windows 10
Original install method (e.g. download page, yum, from source, etc.): .deb packages
Description of the problem including expected versus actual behavior:
We have Cross Cluster tests which create these index patterns;
Knowing that the UI is going to add a
*
to the end of index patterns I'm not putting the last*
char into the field. But I guess the pattern that starts with a*
breaks the code that decides if it should append a*
.Steps to reproduce:
*:makelogs-
*:makelogs-*
but it doesn't add the trailing*
Errors in browser console (if relevant):
Provide logs and/or server output (if relevant):
The text was updated successfully, but these errors were encountered: