Have been trying to use the aws module in metrcibeat and have included all the related credentials required for authentication but it fails and gives the following error
Lots of problems comes from incorrect YAML indentation in the configuration like the one you posted, can you double check the indentation to ensure that it's correct?
When no regions are specified by default it will poll in ever region but still I am getting the above error
Also in java using aws sdk it is working fine
I think your config is correct and looking at Metricbeat code I can only assume that the error is when trying to get the regions description from your account. Maybe you don't do this call in your Java code flow? I think you can workaround this by specifying a region in the config.
Have given the user the Administrator Access which is indirectly full access.
Have did the Describe Region request using same credentials in java and also got the following output
Hi! Everything seems right here hmm Could you paste your whole aws.yml file here please? I'm wondering if there are some sections that have missing credentials. Just for testing, you can try only enabling ec2 instance:
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.