Open sreedharbukya opened 5 years ago
To create a parser, we need an example raw JSON event as received from CloudWatch.
In your requested format, it looks like a parser would need to:
It might be a little easier to simplify this format a little.
Open to a PR if you'd like!
Hey Team,
Can you guide me to build the cloud watch events something like SPOT Instance termination events to come in Slack channel?.
Currently, It just works as generic events, but I would like to get bare minimum tags like Instance Name or Instance type and AZ name.
Current notification to Slack.
aws.ec2 (ap-southeast-1 - XXXXXX) EC2 Instance State-change Notification SPOT Instance State change : Name: foo-bar in region az and reason for it ?? Instance ID: i-047dd4e31a66a990b State Change STATE → TERMINATED Region Asia Pacific (Singapore)