Create index can use connector with '-', but X-Pack search error :
{
"error": {
"root_cause": [
{
"type": "parsing_exception",
"reason": "line 1:19: mismatched input '-' expecting {<EOF>, ',', 'FULL', 'GROUP', 'HAVING', 'INNER', 'JOIN', 'LEFT', 'LIMIT', 'NATURAL', 'ORDER', 'RIGHT', 'WHERE'}"
}
],
"type": "parsing_exception",
"reason": "line 1:19: mismatched input '-' expecting {<EOF>, ',', 'FULL', 'GROUP', 'HAVING', 'INNER', 'JOIN', 'LEFT', 'LIMIT', 'NATURAL', 'ORDER', 'RIGHT', 'WHERE'}",
"caused_by": {
"type": "input_mismatch_exception",
"reason": null
}
},
"status": 400
}