systemd-cloud-watch
systemd-cloud-watch copied to clipboard
Not getting instance_id
it seems that the logstream does not pick up the instance_id correctly
I get NO_NAME-xxx-xx-x-xx-eu-west-1a, is there a way to set this so that the instance_id dynamically appears as the logstream name?
I ran into the same issue. Any help?
You might need to append this to your current IAM policy under "statements" or you can create a new policy and attach it to the role.
{ "Effect": "Allow", "Action": [ "ec2:DescribeInstances" ], "Resource": [ "*" ] }
unfortunately this did not work still getting this
LogStreamName was not set so using NO_NAME-xxx-xx-x-xxx-eu-west-1c
@Tanbouz suggestion works for me.