Created
February 1, 2019 17:23
-
-
Save bushong1/c56c8ffece4132b3b31db54ea5e03ac2 to your computer and use it in GitHub Desktop.
Cloudwatch Logs Agent ecs-agent logs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[general] | |
state_file = /var/awslogs/state/agent-state | |
[/var/log/ecs/ecs-agent.log] | |
file = /var/log/ecs/ecs-agent.log.* | |
log_group_name = MyCoolEnvironment-ecs | |
log_stream_name = ecs-agent/`curl http://169.254.169.254/latest/meta-data/instance-id` | |
datetime_format = %Y-%m-%dT%H:%M:%SZ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment