1

I am collecting logs from AWS Cloudwatch. I have selected a log stream and a regex expression for which I want to collect logs.

I have to select all the logs for some duration, but the issue is the logs are loaded for one second at a time so have to do a lot of scrolling which becomes irritating.

Could anyone suggest some way of loading all the logs for certain time period at one go?

Thanks in advance.

Shivangi Gupta
  • 194
  • 1
  • 10

1 Answers1

1

If you are viewing this in the amazon cloudwatch web console, and if you don't want to scroll. You can paste this code snippet in your browser dev console to scroll at one second intervals.

let scroll = setInterval(() => {
    document.getElementsByClassName('logs__main')[0].scrollTo(0, 999999999)
}, 1000)
G Sriram
  • 399
  • 1
  • 5