question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[BUG] Can't create index pattern with special characters

See original GitHub issue

Describe 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

  1. Create an index called [my-app]-1
  2. Go to Stack Management > Index Patterns > Create index pattern
  3. Use the pattern [my-app]-*
  4. It will show the error that no indices match the pattern and won’t let you create the index pattern
  5. Bellow, indices matching will highlight with bold text where the pattern matches
  6. Use the pattern %5Bmy-app%5D-* which is url encoded
  7. It will show the message that matching indices were found
  8. Bellow, indices matching won’t highlight with bold text where the pattern matches
  9. Press next
  10. It will show a message saying there are no fields for the matching indices
  11. Press create
  12. 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:closed
  • Created 2 years ago
  • Comments:10 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
jere-ortega24commented, Oct 19, 2021

@ahopp done

0reactions
jere-ortega24commented, Oct 28, 2021

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.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found