The nightly run failed at state 14. Its logs are somewhere in CloudWatch.
See why a Step Functions run failed
The graph tells you where it failed. The logs next to it tell you why. A Step Functions execution failed. You want three things: which state, with what input, and what that state logged. ARNscope opens a failed run on the state that broke, with its input, output, attempts and log lines side by side, on a graph that keeps updating while a run is still going. Then redrive from the failure or run it again, after a confirmation.
Where it failed is easy. Why takes the time.
The console’s graph shows the failed state in red, and its redrive works well for one run. The part that takes the time is the why: the state’s details link to the function’s CloudWatch logs, which open in another tab where you still find the right invocation and minutes, away from the input that caused it.
A graph that updates as states finish
Each state is coloured by what happened to it (succeeded, caught, failed, running, not run) and the path the run took is drawn in. Parallel branches and Map processors sit inside their state, each with its time, how many times it ran and its retries. While the run is going, states light up as they finish; a strip sums up its duration, retries, the slowest state and the largest payload against the 256 KiB limit.
Each state’s input, output, retries and logs
Click a state for its attempts, each with its outcome, backoff and error (stack trace included for Lambda and Python errors), then its input and output. The Logs tab beside it shows what the state wrote: a Lambda function’s log group for the minutes the state ran, an ECS task’s container streams merged by time, or the state machine’s own log group filtered to this execution. Filter as you type, or tail it live while the state runs.
Redrive, or run again, deliberately
Redrive restarts a failed run from the step that failed; steps that already succeeded don’t run again. Run again opens Start execution with the run’s input for you to edit. Stop ends a running one. When an error was caught and the run ended in a Fail state, a redrive would fail again at once without rerunning a step; ARNscope says so and offers Run again instead.
Each of them is a write: it needs Writes on for that profile and region, then a native confirmation that names the account, PRODUCTION included. How Writes work.
Runs it can’t fully show
- Express workflows have no execution list or run view; their runs are in CloudWatch Logs.
- Runs with more than 10,000 history events show the first 10,000.
- Lambda logs come from the default log group,
/aws/lambda/<name>; a function with a custom log group shows nothing, and lines from other invocations in the same minutes can appear. - ECS task logs need an
awslogsstream prefix; at most 20 task streams are read. - Distributed Map runs and activity workers have no log source of their own.
Compared with the console
| Compared on | ARNscope | Step Functions console |
|---|---|---|
| Where it failed | Opens on the failed state, error and stack trace in a banner | Graph view with the failed state, event history |
| What the state logged | Logs tab beside the state, filtered to the run | A link from Step details to the CloudWatch logs, in another tab |
| Retries | Each attempt with its error and backoff | Retry tab in Step details, and the table view’s timeline |
| Redrive and run again | Yes, behind Writes and two confirmations | Yes |
| Another account’s run beside it | A tab pinned to its profile and region | Another browser session |
Ninety seconds of Step Functions
A live run, a state’s input and logs, a retry, a failure and a redrive in about ninety seconds. Narrated, with captions.
Questions
More in the full FAQ. Something not covered? Write to hello@arnscope.com.
Where do the log lines come from?
For a Lambda state, the function's log group (/aws/lambda/<name>) for the time the state ran; for an ECS task, each container's awslogs stream; for anything else, the state machine's own log group filtered to the execution, when logging is on.
Does it work with Express workflows?
Partly. Express workflows keep no execution history in Step Functions, so there is no run view; the page says where their runs are logged, and you can still start one.
When should I not redrive?
When the error was caught and the run ended in a Fail state: a redrive would fail again at once without rerunning a step. ARNscope says so and offers Run again instead.
The full reference
Every setting, permission and limit, written from the app’s code.
- AWS Step Functions
A live graph of every run, each state's input, output, retries and logs, Live Tail, a timeline and the event history, with stop and redrive that ask first.
Read why it failed, then redrive.
Open last night’s failed run on the state that broke, with its input and log lines beside it. The 7-day trial is the full app. Point it at the profiles you already have and try this one job. If it doesn’t save you time in a week, it isn’t for you.