aws / aws/amazon-ssm-agent

Streaming logs to CloudWatch strips ANSI characters

Open
#379 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Go
Stars
1.2k
Forks
357
PR merge metrics
No merged PRs in 30d

Description

Hi there!

The SSM agent strips ANSI characters when streaming logs to CloudWatch. This makes it impossible to view an accurate log of the output of a session when using applications which use ANSI control characters; e.g. the output of `top`.

It would be great if it was possible to stream logs to CloudWatch without having these control characters stripped, so that the log could be view and "replayed" at a later date.

Contributor guide

Open the contributing guide

Research direction

Start by tracing the SSM agent path that streams session output to CloudWatch and identify where ANSI control characters are removed. Check how streamed logs are currently encoded and stored, then verify that output containing ANSI characters can be viewed or replayed without those characters being stripped.

Written by the indexing model from the issue text.

Assessment

Tech stack
aws, go
Domain
cloud, observability
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.