CloudWatch log stream contents don't match the selected stream (log contents appear to be from an older stream)
- Dominant language
- TypeScript
- Stars
- 2k
- Forks
- 807
- Avg merge
- 10h 12m
- Merged PRs (30d)
- 7
Description
## Problem
in VSCode, taking the AWS logs (cloud watch) is not starting from current date but from a couple of months ago. There's no option to set the -s startdate/time
## Steps to reproduce the issue
1. Vscode > AWS toolkit > Cloudwatch logs
2. select a log group
3. the prompt sill show "select a log group" but no date can be specified
4. although the current month is JULY it starts printing the log of FEB. (see screenshot where the current date is shown)
## Expected behavior
The log should start from current computer time (as shown in screenshot)
There's indeed an option to specify (actions option) the time ex last 15 mins.
## System details (run the `AWS: About Toolkit` command)
OS: Darwin arm64 22.3.0
Visual Studio Code extension host: 1.79.2
AWS Toolkit: 1.79.0
node: 16.17.1

electron: 22.5.7
Contributor guide
Research direction
Start by reproducing the issue through VS Code > AWS Toolkit > CloudWatch logs, selecting a log group and checking which stream contents and dates appear. Compare the displayed stream with the selected stream and the current computer time, including the Actions time-range option. Done means the selected stream shows matching, current results rather than logs from February.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- aws, typescript, vscode
- Domain
- cloud, developer-experience, observability
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100