# Elasticsearch remote cluster reindexing wildcard

**URL:** <https://discuss.elastic.co/t/elasticsearch-remote-cluster-reindexing-wildcard/342168>\
**Category:** Elasticsearch\
**Tags:** docker\
**Created:** [September 2, 2023, 3:25pm UTC](https://discuss.elastic.co/t/elasticsearch-remote-cluster-reindexing-wildcard/342168 "2023-09-02T15:25:24Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![ANUBHAV\_GUPTA](https://avatars.discourse-cdn.com/v4/letter/a/7ea924/32.png) [@ANUBHAV\_GUPTA](https://discuss.elastic.co/u/ANUBHAV_GUPTA)\
**Post date:** [September 2, 2023, 3:25pm UTC](https://discuss.elastic.co/t/elasticsearch-remote-cluster-reindexing-wildcard/342168/1 "2023-09-02T15:25:24Z")

</div>

Hi there,

I am trying to use `-e reindex.remote.whitelist="*"` in my docker run command to allow all domains in whitelist.  
But I am getting the following error when I try to run this:-

> Exception in thread "main" org.elasticsearch.common.settings.SettingsException: Failed to load settings from [overrides.yml]  
> at org.elasticsearch.common.settings.Settings$Builder.loadFromStream(Settings.java:1230)  
> at org.elasticsearch.node.InternalSettingsPreparer.loadOverrides(InternalSettingsPreparer.java:143)  
> at org.elasticsearch.node.InternalSettingsPreparer.prepareEnvironment(InternalSettingsPreparer.java:53)  
> at org.elasticsearch.common.cli.EnvironmentAwareCommand.createEnv(EnvironmentAwareCommand.java:110)  
> at org.elasticsearch.common.cli.EnvironmentAwareCommand.execute(EnvironmentAwareCommand.java:54)  
> at org.elasticsearch.cli.Command.mainWithoutErrorHandling(Command.java:85)  
> at org.elasticsearch.cli.MultiCommand.execute(MultiCommand.java:94)  
> at org.elasticsearch.cli.Command.mainWithoutErrorHandling(Command.java:85)  
> at org.elasticsearch.cli.Command.main(Command.java:50)  
> at org.elasticsearch.launcher.CliToolLauncher.main(CliToolLauncher.java:64)  
> Caused by: org.elasticsearch.xcontent.XContentParseException: [2:25] while scanning an alias  
> in 'reader', line 2, column 27:  
> reindex.remote.whitelist: \*  
> ^  
> unexpected character found  
> (10)  
> in 'reader', line 2, column 28:  
> reindex.remote.whitelist: \*  
> ^  
> Can someone please suggest the solution here.  
> Thanks in advance!

---

<div class="post-metadata">

**Author:** ![stephenb](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/stephenb/32/40856_2.png) [@stephenb](https://discuss.elastic.co/u/stephenb)\
**Post date:** [September 3, 2023, 3:43pm UTC](https://discuss.elastic.co/t/elasticsearch-remote-cluster-reindexing-wildcard/342168/2 "2023-09-03T15:43:43Z")

</div>

Hi @ANUBHAV_GUPTA

What version?

Pretty sure you have a syntax error you need `host:port`

> Remote hosts have to be explicitly allowed in `elasticsearch.yml` using the `reindex.remote.whitelist` property. It can be set to a comma delimited list of allowed remote `host` and `port` combinations. Scheme is ignored, only the host and port are used. For example:

So if you want to allow everything ...

`reindex.remote.whitelist: "*:9200"`

or in your case

`reindex.remote.whitelist="*:9200"`

---

<div class="post-metadata">

**Author:** ![ANUBHAV\_GUPTA](https://avatars.discourse-cdn.com/v4/letter/a/7ea924/32.png) [@ANUBHAV\_GUPTA](https://discuss.elastic.co/u/ANUBHAV_GUPTA)\
**Post date:** [September 3, 2023, 4:08pm UTC](https://discuss.elastic.co/t/elasticsearch-remote-cluster-reindexing-wildcard/342168/3 "2023-09-03T16:08:57Z")

</div>

hi,

Version is 8.7.0,  
This is working for me` "'*:*'"`

---

<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 1, 2023, 4:09pm UTC](https://discuss.elastic.co/t/elasticsearch-remote-cluster-reindexing-wildcard/342168/4 "2023-10-01T16:09:39Z")

</div>

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