How to disable field from searchable

How disable a fiedl from searchable from list of index. Have tried the below.
PUT logs-report*
{
"mappings": {
"properties": {
"acquirer_details.institution.client_profile.client_profile_name": {
"type": "object",
"enabled": false
}
}
}
}

But it is throwing below,
{
"error": {
"root_cause": [
{
"type": "invalid_index_name_exception",
"reason": "Invalid index name [logs-report*], must not contain the following characters [ , ", , \, <, |, ,, >, /, ?]",
"index_uuid": "na",
"index": "logs-report
"
}
],
"type": "invalid_index_name_exception",
"reason": "Invalid index name [logs-report*], must not contain the following characters [ , ", , \, <, |, ,, >, /, ?]",
"index_uuid": "na",
"index": "logs-report
"
},
"status": 400
}

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