# Docs: reindex.remote.whitelist takes and array and not comma separated list

**URL:** <https://discuss.elastic.co/t/docs-reindex-remote-whitelist-takes-and-array-and-not-comma-separated-list/336976>\
**Category:** Elasticsearch\
**Tags:** reindex\
**Created:** [June 27, 2023, 10:49am UTC](https://discuss.elastic.co/t/docs-reindex-remote-whitelist-takes-and-array-and-not-comma-separated-list/336976 "2023-06-27T10:49:41Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![adopauco](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/adopauco/32/122177_2.png) [@adopauco](https://discuss.elastic.co/u/adopauco)\
**Post date:** [June 27, 2023, 10:49am UTC](https://discuss.elastic.co/t/docs-reindex-remote-whitelist-takes-and-array-and-not-comma-separated-list/336976/1 "2023-06-27T10:49:41Z")

</div>

According to [this](https://www.elastic.co/guide/en/elasticsearch/reference/current/docs-reindex.html#reindex-from-remote) piece of documentation, I need to configure `reindex.remote.whitelist` to allow reindexing from a remote elastic cluster.  
It states that the value should be a string with comma separated list of allowed hosts. Here is the example that is provided:

```auto
reindex.remote.whitelist: "otherhost:9200, another:9200, 127.0.10.*:9200, localhost:*"

```

This however results in an error message when trying to save the configuration in elastic cloud:

 ![Screenshot_20230627_123918](https://us1.discourse-cdn.com/elastic/original/3X/9/c/9c13227907b0aed9e81f7ca3569861c41933aa2f.png)

I found that providing an array of hosts works:

```auto
reindex.remote.whitelist:
  - "localhost:*"
  - "some.other.cluster.local:9243"

```

Is this an issue with documentation or am I missing something? Is this forum the right place to report this?

---

<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:** [July 25, 2023, 10:50am UTC](https://discuss.elastic.co/t/docs-reindex-remote-whitelist-takes-and-array-and-not-comma-separated-list/336976/2 "2023-07-25T10:50:36Z")

</div>

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