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

Hey i was just trying to use Elasticsearch sql and just installed xpack on my Elasticsearch 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 ?

Which version of Elasticsearch are you using

Iam using 6.2.4 elastic search and kibana

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.

1 Like

Thanks Man

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