Hi Team,
I am using OS Version: 2.6.0
I was having index system_logs
. Later I deleted the index system_logs
and tried to create new index system-logs
.
I am getting error as below:
put system-logs
{
"error": {
"root_cause": [
{
"type": "illegal_state_exception",
"reason": "index, alias, and data stream names need to be unique, but the following duplicates were found [system-logs (alias of [system-logs/quK3mAfgRf6UvUqv-MNsgA]) conflicts with index]"
}
],
"type": "illegal_state_exception",
"reason": "index, alias, and data stream names need to be unique, but the following duplicates were found [system-logs (alias of [system-logs/quK3mAfgRf6UvUqv-MNsgA]) conflicts with index]"
},
"status": 500
}
I checked there is no index already present OS with same name as per error, still I am getting error.
I am able to create index system_logs
but not system-logs
.
Pls let me know if I am missing something.
put system_logs
{
"acknowledged": true,
"shards_acknowledged": true,
"index": "system_logs"
}