Comments (4)
What is the test event you are using for them look like?
from aws-health-tools.
I noticed there was no events posted in Slack, I decided to form an event in the Lambda Test section: { "account": "123456789", "region": "us-east-1", "detail": {}, "detail-type": "AWS Health Event", "source": "aws.health", "time": "1970-01-01T00:00:00Z", "id": "cdc73f9d-aea9-11e3-9d5a-835b769c0d9c", "resources": [ "arn:aws:events:us-east-1:123456789:rule/SlackNotifier-CloudWatchEventRule-GCBS8UOHBXM5" ] }
from aws-health-tools.
The error that you have shared above makes it seem like a field either doesn't exist or isn't in the right format. Have you tried the sample AWS Health CloudWatch events to see if it works? They can be accessed under the CloudWatch events console once you choose the Health service by clicking show sample events:
https://console.aws.amazon.com/cloudwatch/home?region=us-east-1#rules:action=create
Here is an example of sample event that you could use to test your function:
{ "version": "0", "id": "7bf73129-1428-4cd3-a780-95db273d1602", "detail-type": "AWS Health Event", "source": "aws.health", "account": "123456789012", "time": "2016-06-05T06:27:57Z", "region": "us-west-2", "resources": [ "i-abcd1111" ], "detail": { "eventArn": "arn:aws:health:us-west-2::event/AWS_EC2_INSTANCE_STORE_DRIVE_PERFORMANCE_DEGRADED_90353408594353980", "service": "EC2", "eventTypeCode": "AWS_EC2_INSTANCE_STORE_DRIVE_PERFORMANCE_DEGRADED", "eventTypeCategory": "issue", "startTime": "Sat, 05 Jun 2016 15:10:09 GMT", "eventDescription": [ { "language": "en_US", "latestDescription": "A description of the event will be provided here" } ], "affectedEntities": [ { "entityValue": "i-abcd1111", "tags": { "stage": "prod", "app": "my-app" } } ] } }
from aws-health-tools.
Thank you, it now works with a sample test but now I need to figure why the events are not being updated in CloudWatch.
from aws-health-tools.
Related Issues (20)
- Lookup_event updates the data on every 6 hours only HOT 2
- Runtime update needed Nodejs 6.10 to 10. HOT 2
- Docuement Chatbot with Healt Tools HOT 1
- Is there a way to test the health of an AWS service? HOT 1
- Opsgenie notifier HOT 1
- Feature request: Integrate with Jira to open a ticket on EC2 service health issues
- SHD Notifier Chat Post error HOT 1
- SHD Notifier includes non-SHD issues HOT 1
- MS Teams notifier HOT 1
- How to do Test HOT 1
- "errorMessage": "ERROR: Missing ENDPOINTARRAY Environment Variable for the Lambda Function!", HOT 4
- AWS Health SHD Notifier - How to run the deploy.sh script HOT 2
- Slack Notifier setup python not supported HOT 1
- ERROR: Missing ENDPOINTARRAY Environment Variable for the Lambda Function HOT 2
- AWS_RISK_CREDENTIALS_EXPOSED uses python3.6 HOT 1
- Pull up info about needing business+ support plan
- How to test the functionality of SHD notifier HOT 1
- AWS Health Event Type for AWS_RISK_CREDENTIALS_EXPOSED Incorrect HOT 3
- Can we use this workflow across Organizational Health Dashboard? HOT 1
- My cloud ex2 ultra HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from aws-health-tools.