1 Answer
- Newest
- Most votes
- Most comments
0
Hi mongesh,
The 90 day retention period for execution history is a hard limit. If you want to preserve this for long term storage beyond 90 days, there are a few options:
- Call GetExecutionHistory after the execution completes and archive it in persistent storage. You can use CloudWatch/EventBridge events that Step Functions emits [1] to trigger a Lambda function, for example, to retrieve the execution history for the execution.
- Enable logging on your state machines to store the history in CloudWatch Logs [2]. Note that there is an additional cost for using CloudWatch Logs.
I hope that helps. I will pass a feature request to the team for being able to visualize the graph for an execution given an execution history.
1 - https://docs.aws.amazon.com/step-functions/latest/dg/cw-events.html
2 - https://docs.aws.amazon.com/step-functions/latest/dg/cw-logs.html
answered 3 years ago
Relevant content
- Accepted Answerasked 2 months ago
- asked 17 days ago
- AWS OFFICIALUpdated 6 months ago
- AWS OFFICIALUpdated 2 years ago
- AWS OFFICIALUpdated a month ago
- AWS OFFICIALUpdated 4 months ago