TylerBrock / saw

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

--expand not working? #68

Open gherlein opened 2 years ago

gherlein commented 2 years ago

saw watch "/aws/lambda/FirstCallStack-firstCall43FFA0B4-jGoBbvJvD8XG" --raw --expand --filter INFO 2021-09-29T03:36:01.338Z 6c5ff95a-67bb-486b-b285-c18abab7b33b INFO {"SchemaVersion":"1.0","Sequence":1,"InvocationEventType":"NEW_INBOUND_CALL","CallDetails":{"TransactionId":"4dc03831-7631-4fc0-8665-98deba9b1f2f","AwsAccountId":"497939524935","AwsRegion":"us-west-2","SipRuleId":"b6a2740e-acfb-40c5-86fa-566d02451163","SipMediaApplicationId":"fce62cce-6151-4b43-a99f-c5077f37865e","Participants":[{"CallId":"690255bb-a256-4b40-9248-bac973164b8b","ParticipantTag":"LEG-A","To":"+12247040992","From":"+14153687546","Direction":"Inbound","StartTimeInMilliseconds":"1632886561176"}]}}

I expected the JSON to get split out onto a new line and then indented pretty, but that does not happen. Quite possible I am doing something wrong though.

AlessandroVol23 commented 2 years ago

I've got exact the same issue :(