TylerBrock / saw

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

How to remove the 64 char stream string? #21

Open kaihendry opened 6 years ago

kaihendry commented 6 years ago

My screen isn't too wide, so I was wondering how to not print the stream prefix. I did see --raw but that takes too much, I need the timestamp. Don't care for the stream id.

Now sure I can use my own formatter.

https://github.com/TylerBrock/saw/blob/master/blade/blade.go#L180

TylerBrock commented 6 years ago

There isn't currently a way to do that but this would be a nice feature. I'm thinking we'd add --compact (which would also remove the date) and --no-stream which would just remove the stream name from the output.

praine commented 5 years ago

I second this feature request. I'd like to cut all of this section if possible:

[2019-06-24T19:36:51+09:00] (2019/06/24/[$LATEST]68fc0c51fe6740af9f6fd6613713d044) 2019-06-24T10:36:51.827Z