{"repo":"rustyconover/cloudwatch-log-redirector","free":true,"listed":false,"github":"https://github.com/rustyconover/cloudwatch-log-redirector","clone":"git clone https://github.com/rustyconover/cloudwatch-log-redirector.git","description":"CloudWatch Log Redirector","language":"Rust","stars":15,"topics":["cli","cloudwatch","cloudwatch-logs","command-wrapper","logging"],"license":null,"category":"cli-tools","readme_excerpt":"CloudWatch Log Redirector Welcome to the CloudWatch Log Redirector ! This handy command-line tool helps you capture the logs from your applications and redirect them to AWS CloudWatch Logs. Why Use CloudWatch Logs? CloudWatch Logs is a fantastic service for storing application logs, especially in environments like Docker or ECS containers. In these scenarios, local storage is often unavailable, making CloudWatch an ideal solution for log management. However, there are times when you want to capture logs from specific applications running alongside others within the same container or environment. That's where the CloudWatch Log Redirector comes in! Features - Redirect Logs : Capture both STDOUT and STDERR from your applications and send them directly to CloudWatch Logs. - Stream Tagging : Easily identify logs by tagging them with [STDOUT] and [STDERR] . - Real-Time Monitoring : Use the --tee option to view logs in real time while they are sent to CloudWatch. How to Use Getting started is simple! Here’s how to use the CloudWatch Log Redirector: Example Usage Here’s a quick example of how to use the tool: Here is a very simple that likely isn't very useful. How It Works The CloudWatch Log Redirector is built with Tokio , allowing it to efficiently manage subprocesses. When you run a command, the tool does the following: 1. Starts the Subprocess : It spawns your command as a subprocess. 2. Attaches Pipes : It connects pipes to capture both STDOUT and STDERR. 3. Reads Logs : Two t","default_branch":null,"files":null,"tree":[],"storefront":"/r/rustyconover","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/rustyconover/cloudwatch-log-redirector/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}