I've found a solution. I need to delete the previous templates in Elasticsearch as well, and then let OAP create a new index template. Thank you.
Chen Haibin <[email protected]> 于2023年8月23日周三 10:53写道: > > > ---------- Forwarded message --------- > 发件人: Chen Haibin <[email protected]> > Date: 2023年8月23日周三 10:04 > Subject: es index issues > To: <[email protected]> > > > After upgrading from 9.4.0 to 9.5.0 and running for a while, I encountered > such an error with OAP. Should I ask if this Elasticsearch index will not > be created automatically? > > Caused by: java.lang.RuntimeException: {"error": "alias > [sw_browser_error_log] missing", "status": 404} > > {"error":{"root_cause":[{"type":"index_not_found_exception","reason":"no > such index > [sw_records-all]","resource.type":"index_or_alias","resource.id":"sw_records-all","index_uuid":"_na_","index":"sw_records-all"}],"type":"index_not_found_exception","reason":"no > such index [sw_records-all]","resource.type":"index_or_alias","resource.id > ":"sw_records-all","index_uuid":"_na_","index":"sw_records-all"},"status":404} > > >
