Invalid index name [_xpack], must not start with '_', '-', or '+'"


(Sundeep) #1

Hey i was just trying to use elastic search sql and just installed xpack on my elastic search and using kibana dev tools to query my documents i am unable to use
`

GET /_xpack/sql?format=txt

`

it always throws

{
"error": {
"root_cause": [
{
"type": "invalid_index_name_exception",
"reason": "Invalid index name [xpack], must not start with '', '-', or '+'",
"index_uuid": "na",
"index": "_xpack"
}
],
"type": "invalid_index_name_exception",
"reason": "Invalid index name [xpack], must not start with '', '-', or '+'",
"index_uuid": "na",
"index": "_xpack"
},
"status": 400
}

can someone help me fix this ?


(Christian Dahlqvist) #2

Which version of Elasticsearch are you using


(Sundeep) #3

Iam using 6.2.4 elastic search and kibana


(Christian Dahlqvist) #4

SQL was launched as part of the 6.3 release, which is why it is not working for 6.2. You will need to upgrade to try it out.


(Sundeep) #5

Thanks Man