You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Metricbeat running on EC2 is failing with error: unable to connect to AWS OpenSearch service. ERROR 401 Unauthorized
My openSearch domain enabled fine-grain access control(FGAC) with IAM role as master user.
I have the access policy attached to EC2 IAM role already and mapped the opensearch role "all_access" so it should reach the domain endpoint. However, this is not working.
To Reproduce
Create AWS OpenSearch domain and enable FGAC.
Create an EC2 instance and attach the IAM policy to allow access to opensearch domain created above.
Install metricbeat-oss7.12.1 on EC2 instance and configure to push metrics to opensearch domain endpoint.
You'll receive error as stated above when running metricbeat.
Expected behavior
Metricbeat should be able to push metrics to opensearch endpoint.
Additional Details
Host/Environment (please complete the following information):
OS: Windows
The text was updated successfully, but these errors were encountered:
Metricbeat running on EC2 is failing with error: unable to connect to AWS OpenSearch service. ERROR 401 Unauthorized
My openSearch domain enabled fine-grain access control(FGAC) with IAM role as master user.
I have the access policy attached to EC2 IAM role already and mapped the opensearch role "all_access" so it should reach the domain endpoint. However, this is not working.
To Reproduce
Create AWS OpenSearch domain and enable FGAC.
Create an EC2 instance and attach the IAM policy to allow access to opensearch domain created above.
Update opensearch domain access policy as below.
Install metricbeat-oss7.12.1 on EC2 instance and configure to push metrics to opensearch domain endpoint.
You'll receive error as stated above when running metricbeat.
Expected behavior
Metricbeat should be able to push metrics to opensearch endpoint.
Additional Details
Host/Environment (please complete the following information):
OS: Windows
The text was updated successfully, but these errors were encountered: