A previous devops engineer set up CloudWatch in AWS for my client. Now I've been asked to push some additional information to CloudWatch. I've never used CloudWatch before, but I have used the AWS CLI for other tasks.
For this task, I can see the documentation offers this example:
aws logs put-log-events \
--log-group-name MyApp/access.log
--log-stream-name TestStream1 \
--log-events \
timestamp=1394793518000,message="Test event 1" \
timestamp=1394793518000,message="Test event 2" \
timestamp=1394793528000,message="This message also contains an Error"
If I log in and go here:
https://console.aws.amazon.com/cloudwatch/home?region=us-east-1#logStream:group=asi-stage-ecs-logs
I can see logs such as this:
asi-stage-prefix/sugar-naa/c2b1113a-5111-47cd-839d-79f7111caff0
I'm curious, what is this? Is this the "log-group-name" and "log-stream-name" jammed together? If not, where do I go to find that information?