Invalid_index_name_exception


(Balanjaneyulu Kantu) #1

Hi All,

I have installed and started both ElasticSearch and Kibana.

If I do GET http://localhost:9200 from kibana,It is giving below response.

{
"error": {
"root_cause": [
{
"type": "invalid_index_name_exception",
"reason": "Invalid index name [nodes], must not start with '', '-', or '+'",
"index_uuid": "na",
"index": "_nodes"
}
],
"type": "invalid_index_name_exception",
"reason": "Invalid index name [nodes], must not start with '', '-', or '+'",
"index_uuid": "na",
"index": "_nodes"
},
"status": 400
}
However,If I do the same request from Browser console,i am getting version number,name and etc.. field..

Can anyone help me how to resolve the issue.?

Thanks,
Balu


(Mark Walkom) #2

Where are you doing that exactly?


(Balanjaneyulu Kantu) #3

Hi,
I wanted to create an index so I am checking whether the ElasticSerach is running or not by doing GET request.

Thanks,
Balu


(Mark Walkom) #4

Where are you doing the GET in KB?


(Balanjaneyulu Kantu) #5

Hi,

I am doing in dev tools-->Console.

Thanks,
Balu


(Balanjaneyulu Kantu) #6

Hi, Issue got resolved.

I need to do just "GET /" without localhost:9200.

Thanks


(system) #7