> For the complete documentation index, see [llms.txt](https://cortex-docs.paloaltonetworks.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://cortex-docs.paloaltonetworks.com/posture-rules/cloud-saas-active-directory-posture-rules/cortex-posture-query-based-rules/detection-rules-by-name/aws-opensearch-domain-error-logging-disabled.md). Agents can also search and read this documentation through its [MCP server](https://cortex-docs.paloaltonetworks.com/~gitbook/mcp).

# AWS Opensearch domain Error logging disabled

### Synopsis

| Field               | Value                                        |
| ------------------- | -------------------------------------------- |
| Rule Type           | Detection                                    |
| Finding Type        | AWS Opensearch domain Error logging disabled |
| Finding ID          | 60000924                                     |
| Generates a Finding | This detection rule also generates a finding |
| Severity            | Informational                                |
| Category            | CONFIGURATION                                |
| Cloud Providers     | AWS                                          |
| Platform Module     | CSPM                                         |
| Asset Types         | AMAZON\_ELASTICSEARCH\_DOMAIN                |

### Description

AWS Opensearch domains lacking error logging configuration pose a significant security risk. This misconfiguration hinders effective troubleshooting, security auditing, and incident response.

Opensearch error logs provide crucial information about service operation issues, including warnings and errors. Disabling these logs prevents detection of potential attacks or misconfigurations, such as unauthorized access attempts or data breaches. Without error logs, identifying the root cause of problems and mitigating security threats becomes significantly more challenging.

The impact of this misconfiguration includes delayed incident response, difficulty in security assessments, and increased vulnerability to exploitation. Comprehensive logging is crucial for maintaining the security and operational integrity of Opensearch domains. Enabled error logging facilitates proactive threat detection and streamlined troubleshooting.

To mitigate this risk, ensure error logging is enabled for all AWS Opensearch domains. Regularly review and monitor these logs for suspicious activity.

### Remediation

To enable the AWS Opensearch domain with error logs:

1. Sign into the AWS console and navigate to the Opensearch Service Dashboard
2. In the navigation pane, under 'Managed Clusters', select 'Domains'
3. Choose the reported Elasticsearch domain
4. On the Logs tab, select 'Error logs' and choose 'Enable'.
5. In the 'Set up error logs' section, in the 'Select log group from CloudWatch logs' setting, Create/Use existing CloudWatch Logs log group as per your requirement
6. In 'Specify CloudWatch access policy', create new/Select an existing policy as per your requirement
7. Click on 'Enable'


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://cortex-docs.paloaltonetworks.com/posture-rules/cloud-saas-active-directory-posture-rules/cortex-posture-query-based-rules/detection-rules-by-name/aws-opensearch-domain-error-logging-disabled.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
