I've been playing with elasticsearch sql query and I have tried to run DESCRIBE filebeat-6.5.0-2019.01.04 but I am getting the following error:
{
"error": {
"root_cause": [
{
"type": "parsing_exception",
"reason": "line 1:18: mismatched input '-' expecting <EOF>"
}
],
"type": "parsing_exception",
"reason": "line 1:18: mismatched input '-' expecting <EOF>",
"caused_by": {
"type": "input_mismatch_exception",
"reason": null
}
},
"status": 400
}
It seam that the sql query does not support '-' in index name.