# Index patterns search not finding results of existing index patterns

**URL:** <https://discuss.elastic.co/t/index-patterns-search-not-finding-results-of-existing-index-patterns/190574>\
**Category:** Kibana\
**Created:** [July 15, 2019, 4:06pm UTC](https://discuss.elastic.co/t/index-patterns-search-not-finding-results-of-existing-index-patterns/190574 "2019-07-15T16:06:43Z")\
**Posts on this page:** 1\
**Showing post:** 7

<div class="post-metadata">

**Author:** ![ec2](https://avatars.discourse-cdn.com/v4/letter/e/e47774/32.png) [@ec2](https://discuss.elastic.co/u/ec2)\
**Post date:** [August 8, 2019, 12:07pm UTC](https://discuss.elastic.co/t/index-patterns-search-not-finding-results-of-existing-index-patterns/190574/7 "2019-08-08T12:07:02Z")

</div>

Worked out how to use the API to target different Spaces from this post:

> [@How to create an index-pattern for a specific Space using the API?](https://discuss.elastic.co/t/how-to-create-an-index-pattern-for-a-specific-space-using-the-api/166341):
>
> Hi, Is it possible to use the [Saved Objects API](https://www.elastic.co/guide/en/kibana/6.6/saved-objects-api.html) to create a new index-pattern for a specific Space? It's not explained in the above documentation and i couldn't make it work after trying various syntax. Kibana version 6.5.4 Thanks,

Looks like my issue will be fixed by recreating the index patterns in each space with new IDs and relinking the visualisations to the new index-pattern.

A bit of work but should sort everything out.

---

_[View the full topic](https://discuss.elastic.co/t/index-patterns-search-not-finding-results-of-existing-index-patterns/190574)._
