Hi Nitya, i am working on send logs from a specifi...
# support
k
Hi Nitya, i am working on send logs from a specific log group to signoz, i have setup all using the documents, i have tried lots of way, but i am getting this error {"level":"error","ts":1739905174.1346638,"caller":"awscloudwatchreceiver@v0.111.0/logs.go:213","msg":"unable to retrieve logs from cloudwatch","kind":"receiver","name":"awscloudwatch","data_type":"logs","log group":"/aws/lambda/GoalDev","error":"NoCredentialProviders: no valid providers in chain. Deprecated.\n\tFor verbose messaging see aws.Config.CredentialsChainVerboseErrors","stacktrace":"github.com/open-telemetry/opentelemetry-collector-contrib/receiver/awscloudwatchreceiver.(*logsReceiver).pollForLogs\n\t/home/runner/go/pkg/mod/github.com/open-telemetry/opentelemetry-collector-contrib/receiver/awscloudwatchreceiver@v0.111.0/logs.go:213\ngithub.com/open-telemetry/opentelemetry-collector-contrib/receiver/awscloudwatchreceiver.(*logsReceiver).poll\n\t/home/runner/go/pkg/mod/github.com/open-telemetry/opentelemetry-collector-contrib/receiver/awscloudwatchreceiver@v0.111.0/logs.go:187\ngithub.com/open-telemetry/opentelemetry-collector-contrib/receiver/awscloudwatchreceiver.(*logsReceiver).startPolling\n\t/home/runner/go/pkg/mod/github.com/open-telemetry/opentelemetry-collector-contrib/receiver/awscloudwatchreceiver@v0.111.0/logs.go:174"} can you please help me out on this part please, thanks
n
Please make sure the credentials are correct and working
k
Hey thanks @nitya-signoz for your quick response. I have already configured the credentials on this path ~/aws/credentials It's working fine on host machine. But the signoz-otel-collector is giving this error.
n
please check out this issue if you find anything helpful https://github.com/aws/aws-sdk-go/issues/2914
k
I have tried the update version of go and AWS SDK but still the same response, Actually I am using another AWS account A credentials, my signoz is running, in account B I am able to send the same AWS account B logs by attaching the role to my ec2 machine, for another AWS account A it is not working, can you please confirm it will work for only the same account or also work for cross account credentials.