TylerBrock / saw

Fast, multi-purpose tool for AWS CloudWatch Logs
MIT License
1.4k stars 77 forks source link

Logs are out-of-order in larger timeframes #63

Open martinpllu opened 3 years ago

martinpllu commented 3 years ago

We noticed an issue when running saw over larger timeframes, e.g. saw get <my-group> --start -24h. The logs are not in chronological order, e.g. consecutive lines have the following timestamps:

2021-04-24T18:57:58.662Z    
2021-04-24T18:57:58.662Z    
2021-04-24T18:57:58.664Z    
2021-04-24T06:04:47.422Z    
2021-04-24T06:04:47.583Z    
2021-04-24T06:04:47.682Z    

Running saw on a smaller timeframe, e.g. saw get <my-group> --start '2021-04-24 05:00:00' --stop '2021-04-24 06:10:00' shows logs in the correct order.