[AWS Health] Region based filtering not working
Open
Team:Obs-InfraObs
- Dominant language
- Go
- Stars
- 12.7k
- Forks
- 5k
- Avg merge
- 2d 2h
- Merged PRs (30d)
- 364
Description
Similar to other AWS modules, the AWS Health module supports filtering metrics by specific AWS regions.
However, there appear to be some issues with how these region filters are being processed.
**Issues:**
1. When values are added under the "Regions", the AWS health metrics do not appear
2. The right place to introduce the Region filter is probably [here](https://github.com/elastic/beats/blob/main/x-pack/metricbeat/module/aws/awshealth/awshealth.go#L153). [Golang SDK ref](https://pkg.go.dev/github.com/aws/aws-sdk-go-v2/service/health@v1.30.3/types#EventFilter).
3. Also, assess the behaviour when the "Default AWS region" is set to a specific region.
Contributor guide
Assessment
This issue has not been assessed yet.