Hi,
I have made a mapping like below for my indices begin with mylogs-
;
PUT mylogs-*
{
"mappings": {
"logfile": {
"_all": { "enabled": false },
"properties" : {
"@timestamp" : {
"type" : "date"
},
"@version" : {
"type" : "integer"
},
"result" : {
"type" : "integer"
}
}
}
}
}
The indices will be look like mylogs-2017-02-01
, mylogs-2017-02-02
etc. In Kibana, when I try to execute this, I am getting the error;
{
"error": {
"root_cause": [
{
"type": "invalid_index_name_exception",
"reason": "Invalid index name [mylogs-*], must not contain the following characters [ , \", *, \\, <, |, ,, >, /, ?]",
"index_uuid": "_na_",
"index": "mylogs-*"
}
],
"type": "invalid_index_name_exception",
"reason": "Invalid index name [mylogs-*], must not contain the following characters [ , \", *, \\, <, |, ,, >, /, ?]",
"index_uuid": "_na_",
"index": "mylogs-*"
},
"status": 400
}
How can I fix this?