More Info:

Ensure Opensearch logs are sent to cloudwatch

Risk Level

Medium

Address

Operational Maturity, Reliability, Security

Compliance Standards

HIPAA,SOC2,HITRUST,NISTCSF,PCIDSS,SEBI,RBI_MD_ITF,RBI_UCB

Triage and Remediation

Remediation

To remediate the misconfiguration of OpenSearch not exporting logs to CloudWatch in AWS, you can follow these steps using the AWS Management Console:

  1. Sign in to the AWS Management Console: Go to the AWS Management Console and sign in with your credentials.

  2. Navigate to the OpenSearch Service: From the services dropdown, select “OpenSearch Service” under the Analytics section.

  3. Select the OpenSearch Domain: Choose the OpenSearch domain that you want to configure to export logs to CloudWatch.

  4. Navigate to the CloudWatch Logs section: In the left-hand navigation pane, click on the “Logs” section under the “Data” category.

  5. Enable CloudWatch Logs: Click on the “Enable” button to enable the export of OpenSearch logs to CloudWatch.

  6. Configure Log Settings: In the CloudWatch Logs configuration window, you can specify the log group name, log stream name, and the IAM role that has permission to write logs to CloudWatch.

  7. Review and Confirm: Review the settings you have configured and click on the “Confirm” button to apply the changes.

  8. Verify Configuration: After the configuration is applied, you can verify that the OpenSearch logs are now being exported to CloudWatch by checking the CloudWatch Logs console.

By following these steps, you can successfully remediate the misconfiguration of OpenSearch not exporting logs to CloudWatch in AWS.