Export anomaly feedback
StackState Self-hosted v5.1.x
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.
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.
CLI: sts
CLI: stac (deprecated)
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.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
From StackState v5.0, the old
sts
CLI is called stac
.The new
sts
CLI replaces the stac
CLI. It's advised to install the new sts
CLI and upgrade any installed instance of the old sts
CLI to stac
. For details see:Using StackState CLI
stac
, anomaly feedback can be exported from StackState with the command stac 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
$ stac anomaly collect-feedback --start-time=-7d > feedback.json
# Export all feedback on anomalies from 10 to 2 days ago,
# include 3 days of metric data for each anomaly
$ stac anomaly collect-feedback --start-time=-10d --end-time=-2d --history=3d > feedback.json
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.
Last modified 1mo ago