# Invalid index name (Solr to ES)

**URL:** <https://discuss.elastic.co/t/invalid-index-name-solr-to-es/53349>\
**Category:** Elasticsearch\
**Created:** [June 20, 2016, 5:24pm UTC](https://discuss.elastic.co/t/invalid-index-name-solr-to-es/53349 "2016-06-20T17:24:50Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![bishaka](https://avatars.discourse-cdn.com/v4/letter/b/e480ec/32.png) [@bishaka](https://discuss.elastic.co/u/bishaka)\
**Post date:** [June 20, 2016, 5:24pm UTC](https://discuss.elastic.co/t/invalid-index-name-solr-to-es/53349/1 "2016-06-20T17:24:50Z")

</div>

Hi,  
I am trying to analyze Solr Data in Kibana. Hence, I am first transferring the data to Elastisearch through Solr River plugin for elasticsearch. I created the following index in elastisearch through this command in Linux:

curl -XPUT 10.12.18.121:9200/\_river/solr\_river/\_meta -d '  
{  
"type" : "solr",  
"solr" : {  
"url" : "[http://hdpttn22.gsm.com/solr/#/col\_dashv1\_shard2\_replica2/query](http://hdpttn22.gsm.com/solr/#/col_dashv1_shard2_replica2/query)",  
"q" : "_:_"  
}  
}'

And I am getting the following error

{"error":{"root\_cause":[{"type":"invalid\_index\_name\_exception","reason":"Invalid index name [_river], must not start with '_'","index":"\_river"}],"type":"invali d\_index\_name\_exception","reason":"Invalid index name [\_river], must not start wi [root@auppol18 ~]#

I don't understand how it's an invalid index name?

Oh. And btw I am using the following tutorial:

> **[javanna/elasticsearch-river-solr](https://github.com/javanna/elasticsearch-river-solr)**
>
> elasticsearch-river-solr - Solr River plugin for elasticsearch

---

<div class="post-metadata">

**Author:** ![bishaka](https://avatars.discourse-cdn.com/v4/letter/b/e480ec/32.png) [@bishaka](https://discuss.elastic.co/u/bishaka)\
**Post date:** [June 20, 2016, 8:29pm UTC](https://discuss.elastic.co/t/invalid-index-name-solr-to-es/53349/2 "2016-06-20T20:29:05Z")

</div>

Update: I have learned that the Solr River plugin has been deprecated and [https://github.com/javanna/elasticsearch-river-solr](https://github.com/javanna/elasticsearch-river-solr) is not up to date.  
Can anyone please tell me what alternatives I can use? I tried to find within the form but couldn't find anything.

---

<div class="post-metadata">

**Author:** ![softwaredoug](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/softwaredoug/32/22681_2.png) [@softwaredoug](https://discuss.elastic.co/u/softwaredoug)\
**Post date:** [June 20, 2016, 8:41pm UTC](https://discuss.elastic.co/t/invalid-index-name-solr-to-es/53349/3 "2016-06-20T20:41:16Z")

</div>

I believe the \_rivers are deprecated. It's better to do this work outside  
of search anyway in a good ETL solution.

But for simple data transfers, we have this tool that we developed that we  
use in our Elasticsearch consulting work

> **[o19s/solr-to-es](https://github.com/o19s/solr-to-es)**
>
> solr-to-es - Migrate a Solr node to an Elasticsearch index.

---

<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 5, 2017, 10:42pm UTC](https://discuss.elastic.co/t/invalid-index-name-solr-to-es/53349/4 "2017-07-05T22:42:03Z")

</div>


