<p dir="auto"><strong>Elasticsearch version</strong>: 2.3.2</p>
<p dir="auto"><strong>Plugins installed</strong>: modules [lang-groovy, reindex, lang-expression], plugins [marvel-agent, watcher, shield, license, head], sites [head]</p>
<p dir="auto"><strong>JVM version</strong>: OpenJDK 64-Bit Server VM (build 24.111-b01, mixed mode)</p>
<p dir="auto"><strong>OS version</strong>: Red Hat Enterprise Linux Server release 6.8 (Santiago)</p>
<p dir="auto"><strong>Description of the problem including expected versus actual behavior</strong>:</p>
<p dir="auto"><strong>Steps to reproduce</strong>:</p>
<ol dir="auto">
<li>Attempt to reindex two indeces, with either index containing a wildcard character in it's name</li>
</ol>
<p dir="auto"><strong>Provide logs (if relevant)</strong>:<br>
"Invalid index name [index-name-*], must not contain the following characters [, /, *, ?, ", &lt;, &gt;, |,  , ,]"</p>
<p dir="auto"><strong>Describe the feature</strong>:<br>
Please enable the _reindex API to work with indeces with wildcard characters.</p>
<p dir="auto"><strong>Describe the feature</strong>:<br>
Would be great if the Reindex API would support wildcards.</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="GET _cat/indices/logstash-*
logstash-2016-01-01
logstash-2016-01-02

POST /_reindex
{
  &quot;source&quot;: {
    &quot;index&quot;: &quot;logstash-*&quot;
  },
  &quot;dest&quot;: {
    &quot;index&quot;: &quot;logstash-new-*&quot;
  }
}

GET _cat/indices/logstash-*
logstash-2016-01-01
logstash-2016-01-02
logstash-new-2016-01-01
logstash-new-2016-01-02"><pre class="notranslate"><code class="notranslate">GET _cat/indices/logstash-*
logstash-2016-01-01
logstash-2016-01-02

POST /_reindex
{
  "source": {
    "index": "logstash-*"
  },
  "dest": {
    "index": "logstash-new-*"
  }
}

GET _cat/indices/logstash-*
logstash-2016-01-01
logstash-2016-01-02
logstash-new-2016-01-01
logstash-new-2016-01-02
</code></pre></div>