Comments (4)
hi, @mmguero, thanks for reporting this issue. The detector list page will search both detectors and anomaly results. When no detector started, then no AD result indices created on new cluster. So the backend code will throw "No indices found" exception when search anomaly results.
One workaround is you can create a test detector with custom result index. A custom result index will be created when create detector. Then the search AD result API won't throw error and detector list can show up. This is an example of detector using custom result index opensearch-ad-plugin-result-test
. Read more details on https://opensearch.org/docs/latest/monitoring-plugins/ad/index/#step-1-define-a-detector, check this step "Specify custom result index."
POST _plugins/_anomaly_detection/detectors
{
"name": "test",
"description": "Test detector",
"time_field": "timestamp",
"indices": [
"server_log"
],
"filter_query": {
"bool": {
"filter": [
{
"range": {
"value": {
"gte": 1
}
}
}
]
}
},
"detection_interval": {
"period": {
"interval": 1,
"unit": "Minutes"
}
},
"window_delay": {
"period": {
"interval": 1,
"unit": "Minutes"
}
},
"feature_attributes": [
{
"feature_name": "test",
"feature_enabled": true,
"aggregation_query": {
"test": {
"sum": {
"field": "value"
}
}
}
}
],
"result_index": "opensearch-ad-plugin-result-test"
}
Actually this issue has been fixed in this PR opensearch-project/anomaly-detection#322, will publish a patch version 1.2.0.1
soon. You can also install 1.2.0.1
manually to fix this issue.
from anomaly-detection-dashboards-plugin.
Thanks for the suggestion and update on the fix!
from anomaly-detection-dashboards-plugin.
@mmguero the patch release is now live - feel free to download the attached zip and manually installing. Please reach out if you see any more issues, and thanks again for reporting!
from anomaly-detection-dashboards-plugin.
Closing since this has been fixed as part of backend PR #322.
from anomaly-detection-dashboards-plugin.
Related Issues (20)
- [v2.12.0] Ensure CI/documentation reflect changes to default admin credentials HOT 1
- [BUG]While building anomaly-detection-dashboard-plugin 2.11.0.0, many unit test cases are failing HOT 1
- [FEATURE] Align dependency versions HOT 1
- [AUTOCUT] Integration Test failed for anomalyDetectionDashboards: 3.0.0 tar distribution HOT 50
- [AUTOCUT] Integration Test failed for anomalyDetectionDashboards: 2.12.0 tar distribution HOT 26
- [AUTOCUT] Distribution Build Failed for anomalyDetectionDashboards-2.12.0 HOT 1
- [AUTOCUT] Integration Test failed for anomalyDetectionDashboards: 2.12.0 HOT 111
- [AUTOCUT] Integration Test failed for anomalyDetectionDashboards: 3.0.0 HOT 1
- [RELEASE] Release version 2.13.0
- [FEATURE] Support Multiple Data Source in Anomaly Detection Dashboards Plugin HOT 3
- [Review Needed] Review the RFC to introduce application level configuration at OSD
- [AUTOCUT] Integration Test failed for anomalyDetectionDashboards: 1.3.15 HOT 3
- [Integ test] Clean up flaky failure in create detector integ test HOT 5
- [AUTOCUT] Integration Test failed for anomalyDetectionDashboards: 2.13.0 HOT 16
- [RELEASE] Release version 2.14.0
- Query DSL filter input for anomaly detector not working HOT 1
- [AUTOCUT] Distribution Build Failed for anomalyDetectionDashboards-3.0.0 HOT 21
- [AUTOCUT] Distribution Build Failed for anomalyDetectionDashboards-2.14.0 HOT 23
- [META] MDS Support For AD HOT 1
- [AUTOCUT] Distribution Build Failed for anomalyDetectionDashboards-1.3.16 HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from anomaly-detection-dashboards-plugin.