In this example, we are using Centos7
, journalctl
and systemctl
so that we can monitor logs from DC/OS instances (masters, agents and public agents). It is useful for anyone using systemd
, journald
in an AWS EC2 enviroment that wants logging. The nice thing about Amazon CloudWatch is that it integrates well with Amazon EMR and Amazon Elasticsearch. (For more background on this subject see this article which covers using CloudFormation, Packr, etc. for Immutable Infrastructure to build DC/OS and deploy it to Amazon Web Services.)
We will install journald-cloudwatch-logs. We are going to setup a daemon into systemd that forwards logs to Amazon CloudWatch log streams.
This utility ***journald-cloudwat