Export anomaly feedback

StackState Self-hosted v5.1.x

Overview

Feedback that has been added to anomalies reported by the Autonomous Anomaly Detector can be exported to file using the StackState CLI. Exported data can be sent on to the StackState team for investigation.

Export feedback

Use the StackState CLI to export anomaly feedback from StackState. When an export is run, all feedback and comments for all anomalies reported in the specified time window will be exported.

Note that any user comments will be included in the exported feedback. These comments are very useful, but should not contain any sensitive information.

From StackState v5.0, the old sts CLI has been renamed to stac and there is a new sts CLI. The command(s) provided here are for use with the new sts CLI.

➡️ Check which version of the sts CLI you are running

Using StackState CLI sts (new), anomaly feedback can be exported from StackState with the command sts anomaly collect-feedback.

For example:

# Export all feedback on all anomalies in the last 7 days,
# include 1 day of metric data for each anomaly
$ sts anomaly collect-feedback --start-time -7d --file feedback.json

# Export all feedback on anomalies from 10 to 2 days ago,
# include 3 days of metric data for each anomaly
$ sts anomaly collect-feedback --start-time -10d --end-time -2d --history 3d --file feedback.json

Send exported feedback

When requested, feedback exported from StackState can be sent on to the StackState team. Instructions on how to do this using a secure fileshare will be provided to you. All data received will be handled in accordance with the StackState security policy.

Note that any user comments will be included in the exported feedback. These comments are very useful, but should not contain any sensitive information.

See also

Last updated