# Index wildcard Performance

**URL:** <https://discuss.elastic.co/t/index-wildcard-performance/300153>\
**Category:** Elasticsearch\
**Created:** [March 21, 2022, 4:57am UTC](https://discuss.elastic.co/t/index-wildcard-performance/300153 "2022-03-21T04:57:31Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![111505](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/111505/32/94191_2.png) [@111505](https://discuss.elastic.co/u/111505)\
**Post date:** [March 21, 2022, 4:57am UTC](https://discuss.elastic.co/t/index-wildcard-performance/300153/1 "2022-03-21T04:57:31Z")

</div>

```auto
log-1
log-2
log-3

```

If there is an index, I use "log-_"  
But suppose that the data I want is only in log-1.  
Is there a difference in actual operation and performance between using it as log-_ and using it as log-1?

Search commands will surely be executed on log-1 and log-2 indexes.  
It's a command that doesn't look up anything, but what's the actual operation?

---

<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:** [April 18, 2022, 4:57am UTC](https://discuss.elastic.co/t/index-wildcard-performance/300153/2 "2022-04-18T04:57:39Z")

</div>

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