OpenSearch-Dashboards
OpenSearch-Dashboards copied to clipboard
[BUG][Discover] pattern with * as prefix it is not picking hidden index in discover
Describe the bug
When we create an index pattern with prefix *, it is not picking up hidden index when selecting that index pattern in discover.
For example, when we created the index pattern *index*
that can match 4 indices:
- 2 hidden indices
sample_index_1_hidden
,sample_index_2_hidden
- 2 normal indices
sample_index_1_not_hidden
,sample_index_2_not_hidden
.
When we go to discover, and select *index*
in the datasource picker, sample_index_1_hidden
, sample_index_2_hidden
documents are not be able to show up in discover; only sample_index_1_not_hidden
, sample_index_2_not_hidden
documents will be shown.
However, if we created the index pattern and name it without using the * as the prefix, for example, sample_index*
, then documents from all four indices will be shown.