[BUG] Can't create index pattern with special characters
See original GitHub issueDescribe the bug When creating an index pattern with special character it doesn’t find the existing indices and doesn’t let you create the index pattern. If you encode the pattern for url, it finds the indices and lets you create the index pattern, but later gives errors because it doesn’t find any indices that match.
To Reproduce
- Create an index called
[my-app]-1
- Go to
Stack Management > Index Patterns > Create index pattern
- Use the pattern
[my-app]-*
- It will show the error that no indices match the pattern and won’t let you create the index pattern
- Bellow, indices matching will highlight with bold text where the pattern matches
- Use the pattern
%5Bmy-app%5D-*
which is url encoded - It will show the message that matching indices were found
- Bellow, indices matching won’t highlight with bold text where the pattern matches
- Press next
- It will show a message saying there are no fields for the matching indices
- Press create
- It will show errors saying no matching indices where found
Expected behavior
It should find the matching indices using the pattern [my-app]-*
, let you create the index pattern and find the fields.
OpenSearch Version 1.0.0
Dashboards Version 1.0.0
Host/Environment (please complete the following information):
- OS: Ubuntu 20.04
- Browser and version: Chrome 94
Issue Analytics
- State:
- Created 2 years ago
- Comments:10 (4 by maintainers)
Top Results From Across the Web
How to include special characters in modified index pattern ...
Hello, On kibana and when editing the values on an Index Pattern, e.g. from the default 'string' to URL. When modifying the URL...
Read more >How to configure index pattern in Kibana - Stack Overflow
EDIT: The problem with an empty dropdown in the time-field name is because you don't have any field with date type in the...
Read more >Errors using special characters in Access databases - Office
Lists the special characters to avoid using when you work with the database object names or the field names in all versions of...
Read more >Log Search Syntax - Datadog Docs
You can't search for special characters in a log message. However, you can search for special characters when they're inside of an attribute....
Read more >Identifiers - Open Distro Documentation
An identifier is an ID to name your database objects, such as index names, field names, ... Whitespace and other special characters are...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@ahopp done
Ok I have checked and you are right it has been fixed in 1.1.
@camAtGitHub I checked and yes it also happens in 1.1, but i think you should probably open an issue in opensearch-project/index-management-dashboards-plugin as I understand it that’s where that issue is.
I’m closing this issue, thanks for your help.