opensearch-project / anomaly-detection-dashboards-plugin

Manage your detectors and identify atypical data in OpenSearch Dashboards
https://opensearch.org/docs/latest/monitoring-plugins/ad/index/
Apache License 2.0
28 stars 58 forks source link

[Feature] Support historical results on OSD Visualizations #803

Open ohltyler opened 1 month ago

ohltyler commented 1 month ago

Currently, the results fetched when triggered from OSD Visualizations are limited to real-time results (see here). Ideally, users have the flexibility to also include historical results to be overlaid to provide more insights to users, particularly if they have large amounts of historical data and historical anomaly results.

Added logic to fetch the latest historical task ID and fetch historical results with that ID can be used to fetch the latest run of historical results for a particular detector - this is already done on the historical analysis tab, and that logic can be reused here. This may also mean adding or updating parameters in the expression function if we want to allow users to specify to include historical or not, and if so, we should handle backward compatibility scenarios gracefully (e.g., default to only real-time if no param is found).

ohltyler commented 1 month ago

Tracking issue to update documentation: https://github.com/opensearch-project/documentation-website/issues/7647

dblock commented 4 weeks ago

@ohltyler was this done? close?

[Catch All Triage - 1, 2, 3, 4]

ohltyler commented 4 weeks ago

No, this is not done. The documentation has just been updated to reflect that this proposed feature (historical results) is not supported explicitly.