Export anomaly feedback
StackState Self-hosted v5.0.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

To export anomaly feedback from StackState, the StackState CLI is required. 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 (new)
CLI: stac
⚠️ PLEASE NOTE - 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
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
⚠️ PLEASE NOTE - from StackState v5.0, the old sts CLI is called stac.
In a future release of StackState, the new sts CLI will fully replace the stac CLI. It is advised to install the new sts CLI and upgrade any installed instance of the old sts CLI to stac. For details see:

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

Copy link
On this page
Overview
Export feedback
Send exported feedback
See also