I guess I'm trying to figure out if this is my own issue I created, or if IPS is somehow deleting the index. Here is what I'm doing.
curl -XPUT 'localhost:9200/myindex?pretty'
{
"acknowledged" : true,
"shards_acknowledged" : true,
"index" : "myindex"
}
curl -XGET 'http://localhost:9200/myindex?pretty'
{
"myindex" : {
"aliases" : { },
"mappings" : { },
"settings" : {
"index" : {
"creation_date" : "1665603517192",
"number_of_shards" : "1",
"number_of_replicas" : "1",
"uuid" : "0FSaTywWTgSrGxOivBNWKw",
"version" : {
"created" : "136227827"
},
"provided_name" : "myindex"
}
}
}
}
curl -XGET 'localhost:9200/_cat/indices?v'
health status index uuid pri rep docs.count docs.deleted store.size pri.store.size
yellow open myindex 0FSaTywWTgSrGxOivBNWKw 1 1 0 0 208b 208b
green open .tasks 6yEl4oDsRO-NnR7iQnA8Jw 1 0 6 0 40.5kb 40.5kb
In the above I creates the index, checked its status and the status of all indices. The newly created index shows health as yellow because it's new (I'm guessing).
Then I switched from MySQL to Elastic / OpenSearch.
Then I checked on the status of all indices, and "myindex" is gone.
curl -XGET 'localhost:9200/_cat/indices?v'
health status index uuid pri rep docs.count docs.deleted store.size pri.store.size
green open .tasks 6yEl4oDsRO-NnR7iQnA8Jw 1 0 6 0 40.5kb 40.5kb