> 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-elasticsearch-domain-has-index-slow-logs-set-to-disabled.md). Agents can also search and read this documentation through its [MCP server](https://cortex-docs.paloaltonetworks.com/~gitbook/mcp).

# AWS Elasticsearch domain has Index slow logs set to disabled

### Synopsis

| Field               | Value                                                        |
| ------------------- | ------------------------------------------------------------ |
| Rule Type           | Detection                                                    |
| Finding Type        | AWS Elasticsearch domain has Index slow logs set to disabled |
| Finding ID          | 60000134                                                     |
| 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                                |
| ATT\&CK Tactic      | TA0112 (TA0112)                                              |
| ATT\&CK Technique   | T1685.002 (T1685.002)                                        |

### Description

AWS Elasticsearch domains with index slow logs disabled present a significant security risk. Disabling this feature prevents monitoring of slow indexing operations, hindering the detection of performance bottlenecks that attackers might exploit for data exfiltration or denial-of-service attacks.

The Elasticsearch service's index slow logs setting, when disabled, eliminates valuable performance monitoring data within AWS CloudWatch Logs. Without this logging, identifying performance issues becomes significantly more difficult. Attackers could leverage slow indexing to obscure malicious activity or overload the system, leading to data breaches or service disruptions.

The impact of this misconfiguration is the loss of crucial performance visibility, making it challenging to proactively identify and respond to security threats. Enabling index slow logs provides comprehensive insights into indexing performance, facilitating prompt detection of anomalies and potential attacks. This proactive monitoring significantly enhances the security posture of the Elasticsearch domain.

To mitigate this risk, ensure that index slow logs are enabled for all AWS Elasticsearch domains. Regularly review CloudWatch Logs for slow indexing events.

### Remediation

**Manual steps:**

Amazon Elasticsearch Domain - Manual remediation steps:

1. Sign in to the AWS console
2. In the console, select the specific region from the region drop-down on the top right corner, for which the alert is generated
3. Navigate to the Amazon OpenSearch Service Dashboard
4. Go to 'Domains' under Managed cluster from the left panel
5. Choose the reported domain
6. Select the 'Logs' tab
7. Choose Index slow logs and click on Enable
8. In the 'Setup Index slow logs' section,
   1. In the 'Select log group from CloudWatch logs' setting, create/use an existing CloudWatch Logs log group as per your requirement
   2. In 'Specify CloudWatch access policy', create new/select an existing policy as per your requirement
   3. Click on 'Enable'

The Index slow logs setting 'Status' should change now to 'Enabled'.


---

# 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-elasticsearch-domain-has-index-slow-logs-set-to-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.
