# Wildcard queries \_index field

**URL:** https://discuss.elastic.co/t/wildcard-queries-index-field/344232
**Category:** Elasticsearch
**Created:** [October 2, 2023, 2:20pm UTC](https://discuss.elastic.co/t/wildcard-queries-index-field/344232 "2023-10-02T14:20:51Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![frens](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/frens/32/114800_2.png) [@frens](https://discuss.elastic.co/u/frens)
#### Post date: [October 2, 2023, 2:20pm UTC](https://discuss.elastic.co/t/wildcard-queries-index-field/344232/1 "2023-10-02T14:20:51Z")

</div>

We've just upgraded ES from 7.12.0 to 7.17.13 and since then we seem to be unable to run wildcard queries on the \_index field. Is this expected? Is this something we can work around?

We have index patterns in Kibana with leading wildcards, but we want to support users to narrow their searches down further with wildcards on \_index through the Kibana query language.

---

<div class="post-metadata">

### Author: ![frens](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/frens/32/114800_2.png) [@frens](https://discuss.elastic.co/u/frens)
#### Post date: [October 2, 2023, 2:28pm UTC](https://discuss.elastic.co/t/wildcard-queries-index-field/344232/2 "2023-10-02T14:28:05Z")

</div>

It seems related to

> Add `_index` and `_version` metatada fields to fields API

from [release 7.16](https://www.elastic.co/guide/en/elasticsearch/reference/7.17/release-notes-7.16.0.html).

---

<div class="post-metadata">

### Author: ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)
#### Post date: [October 30, 2023, 2:28pm UTC](https://discuss.elastic.co/t/wildcard-queries-index-field/344232/3 "2023-10-30T14:28:58Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
