Reputation: 637
I have log streaming ticket in my ELB Configuration page but in my Cloudwatch Logs i can only see eb-activity, httpd and nginx log groups. I am expecting to see the Tail and Bundle instance logs from the individual EC2 nodes. Isn't that the expected behaviour of ELB?
Do i need to do anything additional to get my instance logs to appear to CW?
Upvotes: 0
Views: 1448
Reputation: 3748
The awslogs agent looks in the configuration file for the log files which it's supposed to send. There are some defaults in it. You need to edit it and specify
You can check and edit the configuration file located at:
/etc/awslogs/awslogs.conf
Make sure to restart the service:
sudo service awslogs restart
You can specify your own files there and create different groups and what not.
Resources:
https://docs.aws.amazon.com/AmazonCloudWatch/latest/logs/AgentReference.html
Upvotes: 2