New AWS module

Hi there, trying out the new AWS module in Metricbeat that was announced yesterday, encountering some difficulties. Two questions:

  1. Is it possible to pass the AWS credentials directly in the module config and not as env variables?

  2. Is the session_token parameter mandatory?

Would be great to have the config test command verify this module configuration. Using the command does not output anything - an "all OK" message or an error message.

Thanks!

Hi, for 1., yes you should be able to specify it as mentioned here in the example: https://www.elastic.co/guide/en/beats/metricbeat/master/metricbeat-module-aws.html Just replace ${...} with the actual value.

If I remember correctly, the session token is only needed if you use temporary credentials.

For the config validation: Good idea. Could you file a Github issue for this?

Thanks @ruflin! Inserting the creds directly worked.
GitHub issue: https://github.com/elastic/beats/issues/11421

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.