Skip to content
This repository has been archived by the owner on Sep 17, 2021. It is now read-only.

Latest commit

 

History

History
26 lines (19 loc) · 1.17 KB

README.md

File metadata and controls

26 lines (19 loc) · 1.17 KB

CloudWatchLogDownloader

Download full logs from AWS CloudWatch

Build Status

Who is it for?

For idiots like me who just want a text dump of the cloud watch log without going through S3

Why .NET?

Because I was working with the .NET AWSSDK when writing this.

Why not .NET CORE?

Because the AWSSDK.CloudWatchLogs nuget package doesn't support it. (As of writing this README)

Usage

If you're still reading this means you want to use this abomination... Good.

Command line params

short long Description
-g --logGroup The log group you want to select the stream from, can end with '*' in which case the option to choose from all groups starting with this will be given
-s --logStream The log stream you want to save, can end with '*' in which case the option to choose from all groups starting with this will be given
-o --outputFile The file to output the logs to.
-l --liveStream After reaching the newest log keep polling until ctrl+c is pressed

If any of the above are not specified the program will prompt for them