-
Problem report
-
Resolution: Fixed
-
Trivial
-
None
-
0.5
Steps to reproduce:
In AWS Bucket go to: * Bucket metrics
- ==> Request metrics
- ==> Manage filters
- Create filter(only one)
Run JavaScript in `aws.s3.get_metrics` script item
Result:
zabbix_js [232041]: Warning: [ AWS S3 ] ERROR: TypeError: undefined not callable (property 'forEach' of [object Object]). {"error":"TypeError: undefined not callable (property 'forEach' of [object Object])."}
Expected:
{"metrics":[{"Id":"m0","Label":"StandardStorage BucketSizeBytes","StatusCode":"Complete","Timestamps":[1709759340],"Values":[28293865]},{"Id":"m1","Label":"AllStorageTypes NumberOfObjects","StatusCode":"Complete","Timestamps":[1709759340],"Values":[5601]}],"filter_id":[{"Id":"test2","Filter":{"Prefix":"my-database-dump/"},"region":"us-east-1"}]}