AWS Integration - Kinesis/CloudWatch - Configuration error

Hi All,

I am running graylog 3.3.1. I am trying to configure AWS Kinesis/CloudWatch input however I get error when configuring it. I have created the AWS user, role, and created required policies.

However, when i select aws authentication type as key & secret or automatic (environment variable created). I get the following error. I have also tried automatic authentication with environment variable but the error remains. appreciate your direction in resolving this issue.

software.amazon.awssdk.core.exception.SdkClientException: Unable to load credentials from any of the providers in the chain AwsCredentialsProviderChain(credentialsPr
oviders=[SystemPropertyCredentialsProvider(), EnvironmentVariableCredentialsProvider(), WebIdentityTokenCredentialsProvider(), ProfileCredentialsProvider(), Containe
rCredentialsProvider(), InstanceProfileCredentialsProvider()]) : [SystemPropertyCredentialsProvider(): Unable to load credentials from system settings. Access key mu
st be specified either via environment variable (AWS_ACCESS_KEY_ID) or system property (aws.accessKeyId)., EnvironmentVariableCredentialsProvider(): Unable to load c
redentials from system settings. Access key must be specified either via environment variable (AWS_ACCESS_KEY_ID) or system property (aws.accessKeyId)., WebIdentityT
okenCredentialsProvider(): Either the environment variable AWS_WEB_IDENTITY_TOKEN_FILE or the javaproperty aws.webIdentityTokenFile must be set., ProfileCredentialsP
rovider(): Profile file contained no credentials for profile ‘default’: ProfileFile(profiles=), ContainerCredentialsProvider(): Cannot fetch credentials from conta
iner - neither AWS_CONTAINER_CREDENTIALS_FULL_URI or AWS_CONTAINER_CREDENTIALS_RELATIVE_URI environment variables are set., InstanceProfileCredentialsProvider(): The
requested metadata is not found at http://169.254.169.254/latest/meta-data/iam/security

Bringing to the attention of graylog community for their direction towards the resolution.

Hello - Please try aws-cli and see if you are able to connect with this.

@lingpri, you mean defining the credentials via aws cli configure command? if so, i have done that, and changed the authentication to automatic. It didn’t work.

step1 : pwd (/home/user/.aws)
step2: there’s a file named credentials
step3:contents of the file is as below,

[default]
aws_access_key_id = <your value>
aws_secret_access_key = <your secret access key>

AWS Integrations is working fine for me in my local. Please retry.

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