# Unable to add cross-cluster index pattern

**URL:** <https://discuss.elastic.co/t/unable-to-add-cross-cluster-index-pattern/263014>\
**Category:** Kibana\
**Tags:** ccs-cross-cluster-search\
**Created:** [February 2, 2021, 5:20pm UTC](https://discuss.elastic.co/t/unable-to-add-cross-cluster-index-pattern/263014 "2021-02-02T17:20:17Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![jim1](https://avatars.discourse-cdn.com/v4/letter/j/779978/32.png) [@jim1](https://discuss.elastic.co/u/jim1)\
**Post date:** [February 2, 2021, 5:20pm UTC](https://discuss.elastic.co/t/unable-to-add-cross-cluster-index-pattern/263014/1 "2021-02-02T17:20:18Z")

</div>

Hello,

I set up two Elasticsearch clusters (cluster\_a, cluster\_b) and I was able to set cluster\_a as a remote cluster on cluster\_b and vice versa.

Using the dev CLI feature, I am also able to query indexes of cluster\_a from cluster\_b and vice versa.

However, when I try to add cluster\_a's indexes to cluster\_b, I get the error "Failed to Load Indexes". This happens in the other direction as well.

Does anyone know what could be causing this error and some methods to resolve it? I know for sure that they are connected since I am able to query the indexes from the dev CLI and I see the green check mark on the Remote Index UI. I checked in the network tab on the browser and no errors appeared as well.

Any ideas are appreciated.

Thank you

---

<div class="post-metadata">

**Author:** ![lukas](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/lukas/32/6812_2.png) [@lukas](https://discuss.elastic.co/u/lukas)\
**Post date:** [February 4, 2021, 4:31pm UTC](https://discuss.elastic.co/t/unable-to-add-cross-cluster-index-pattern/263014/2 "2021-02-04T16:31:07Z")

</div>

Are you trying to create an index pattern? If so, then the format you'll use for the pattern itself should be something like this:

```auto
cluster_name:index_name

```

Please let me know if that works for you.

---

<div class="post-metadata">

**Author:** ![jim1](https://avatars.discourse-cdn.com/v4/letter/j/779978/32.png) [@jim1](https://discuss.elastic.co/u/jim1)\
**Post date:** [February 4, 2021, 5:16pm UTC](https://discuss.elastic.co/t/unable-to-add-cross-cluster-index-pattern/263014/3 "2021-02-04T17:16:17Z")

</div>

That worked perfectly! Before I was using `cluster_name:*`, but using the format you suggested worked on both clusters.

Thank you!

---

<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:** [March 4, 2021, 5:17pm UTC](https://discuss.elastic.co/t/unable-to-add-cross-cluster-index-pattern/263014/4 "2021-03-04T17:17:08Z")

</div>

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