-
Notifications
You must be signed in to change notification settings - Fork 4.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Push events even when there's no cloudwatch data #11023
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM. We can directly get this in and do follow up PR's with the comments as they are not critical.
@@ -32,8 +31,14 @@ see https://docs.aws.amazon.com/IAM/latest/UserGuide/id_credentials_temp.html[Te | |||
aws> sts get-session-token --serial-number arn:aws:iam::1234:mfa/your-email@example.com --token-code 456789 --duration-seconds 129600 | |||
---- | |||
|
|||
Specific permissions needs to be added into the IAM user's policy to authorize Metricbeat to collect AWS monitoring metrics. Please | |||
see documentation under each metricset for required permissions. | |||
Since temporary security credentials are short term, after they expire, the user needs to generate new ones and modify |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This paragraph sounds like someone could just replace the credentials and it would reload. This is true if reload is enabled, but by default it's off.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
When an instance is not in running state, there will not be metrics in Cloudwatch. But it's till valuable to push an event about this instance. So users can see there are instances hanging around that's not working.
With this PR, instances in stopped state are reported as well. Please see kibana picture below:
This PR also updated the documentations for ec2, please see #11009 for more details.