Open DefenceLogicAdm opened 2 years ago
same in 2.4.0 and document based alerts
Hi @DefenceLogicAdm @llermaly thanks for the issue. This is actually expected behavior since these are system indices that are not supposed to be directly accessible to users (note they are prefixed with .
). These indices are created automatically by the plugin when plugin resources, like anomaly detectors or alerting monitors, are created. But by default they are not created on initial cluster bootstrap since they would be unnecessary if the plugin never gets used.
@ohltyler reopened so that we can catch index_not_found_exception and suppress the message on the backend.
What is the bug? Opensearch-Dashboards 1.3.3 - missing indexes .opendistro-anomaly-detectors / .opendistro-alerting-config breaks the alerting and anomaly detection functions.
How can one reproduce the bug? Steps to reproduce the behavior:
What is the expected behavior? Errors should not occur, indexes should have been already recreated.
What is your host/environment?
Observed Log Outpout
Do you have any additional context? Tried creating indexes with curl manually but index is missing data structures and results in a 500 internal error 0 unable to search indexes
How to resolve Provide documentation on the .opendistro-anomaly-detectors / .opendistro-alerting-config index structure ideally this would be two json files that could be used with curlor appropriate commands.