AWS Security ChangesHomeSearch

AWS opensearch-service documentation change

Service: opensearch-service · 2026-04-10 · Documentation low

File: opensearch-service/latest/developerguide/direct-query-cloudwatch-logs-overview.md

Summary

Added new sections for Pricing, Limitations, Recommendations, Quotas, and Supported AWS Regions to the CloudWatch Logs direct query documentation, including detailed operational guidance and regional availability.

Security assessment

The changes are routine documentation updates that add operational details about pricing, limitations, recommendations, quotas, and regional support. There is no mention of security vulnerabilities, patches, or security incidents. The recommendations section includes general best practices (like using query limits) but these are for performance and cost optimization, not security. No security features or security-related configurations are introduced.

Diff

diff --git a/opensearch-service/latest/developerguide/direct-query-cloudwatch-logs-overview.md b/opensearch-service/latest/developerguide/direct-query-cloudwatch-logs-overview.md
index 06b98de57..2572a2a7e 100644
--- a//opensearch-service/latest/developerguide/direct-query-cloudwatch-logs-overview.md
+++ b//opensearch-service/latest/developerguide/direct-query-cloudwatch-logs-overview.md
@@ -4,0 +5,2 @@
+PricingLimitationsRecommendationsQuotasSupported AWS Regions
+
@@ -16,0 +19,149 @@ In the following pages, you'll learn how to set up a CloudWatch Logs direct-quer
+  * Pricing
+
+  * Limitations
+
+  * Recommendations
+
+  * Quotas
+
+  * Supported AWS Regions
+
+
+
+
+## Pricing
+
+Amazon OpenSearch Service offers OpenSearch Compute Unit (OCU) pricing for CloudWatch Logs direct queries. As you run direct queries, you incur charges for OCUs per hour, listed as DirectQuery OCU usage type on your bill. You will also incur separate charges from Amazon CloudWatch Logs.
+
+Direct queries are of two types—interactive and indexed view queries.
+
+  * _Interactive queries_ are used to populate the data selector and perform analytics on your data in CloudWatch Logs. OpenSearch Service handles each query with a separate pre-warmed job, without maintaining an extended session.
+
+  * _Indexed view queries_ use compute to maintain indexed views in OpenSearch Service. These queries usually take longer because they ingest a varying amount of data into a named index. For CloudWatch Logs connected data sources, the indexed data is stored in an OpenSearch Serverless collection where you are charged for data indexed (IndexingOCU), data searched (SearchOCU), and data stored in GB.
+
+
+
+
+For more information, see the Direct Query and Serverless sections within [Amazon OpenSearch Service Pricing](https://aws.amazon.com/opensearch-service/pricing/).
+
+## Limitations
+
+The following limitations apply to direct queries in CloudWatch Logs:
+
+  * The direct query integration with CloudWatch Logs is only available on OpenSearch Service collections and the OpenSearch user interface.
+
+  * OpenSearch Serverless collections have networked payload limitations of 100 MiB. 
+
+  * CloudWatch Logs supports VPC Flow, CloudTrail, and AWS WAF dashboard integrations installed from the console. 
+
+  * AWS CloudFormation templates aren't supported yet.
+
+  * OpenSearch SQL and OpenSearch PPL statements have different limitations when working with OpenSearch indexes compared to using direct query. Direct query supports advanced commands such as JOINs, subqueries, and lookups, while support for these commands on OpenSearch indexes is limited or nonexistent. For more information, see [Supported SQL and PPL commands](./direct-query-supported-commands.html).
+
+
+
+
+## Recommendations
+
+We recommend the following when using direct queries in CloudWatch Logs:
+
+  * When searching multiple log groups in one query, use the appropriate syntax. For more information, see [Multi-log group functions](./supported-directquery-sql.html#multi-log-queries).
+
+  * When using SQL or PPL commands, enclose certain fields in backticks to successfully query them. Backticks are needed for fields with special characters (non-alphabetic and non-numeric). For example, enclose `@message`, `Operation.Export,` and `Test::Field` in backticks. You don't need to enclose columns with purely alphabetic names in backticks.
+
+Example query with simple fields:
+    
+        SELECT SessionToken, Operation, StartTime  FROM `LogGroup-A`
+    LIMIT 1000;
+
+Similar query with backticks appended:
+    
+        SELECT `@SessionToken`, `@Operation`, `@StartTime` FROM `LogGroup-A`
+    LIMIT 1000;
+
+  * Use limits on your queries to make sure you aren't pulling too much data back.
+
+  * Queries containing field names that are identical but differ only in case (such as `field1` and `FIELD1`) are not supported.
+
+For example, the following queries are not supported:
+    
+        Select AWSAccountId, AwsAccountId from LogGroup
+    Select a.@LogStream, b.@logStream from Table A INNER Join Table B ona.id = b.id
+
+However, the following query is supported because the field name (@logStream) is identical in both log groups:
+    
+        Select a.@logStream, b.@logStream from Table A INNER Join Table B on a.id = b.id
+
+  * Functions and expressions must operate on field names and be part of a `SELECT` statement with a log group specified in the `FROM` clause.
+
+For example, this query is not supported:
+    
+        SELECT cos(10) FROM LogGroup
+
+This query is supported:
+    
+        SELECT cos(field1) FROM LogGroup
+
+
+
+
+## Quotas
+
+###### Note
+
+If you're looking to perform direct queries using CloudWatch Logs Insights, make sure that you refer to [Additional information for CloudWatch Logs Insights users using OpenSearch SQL](./supported-directquery-sql.html#supported-sql-for-multi-log-queries).
+
+Description | Value | Soft limit? | Notes  
+---|---|---|---  
+Account-level TPS limit across direct query APIs | 3 TPS | Yes |   
+Maximum number of data sources | 20 | Yes | Limit is per AWS account.  
+Maximum auto-refreshing indexes or materialized views | 30 | Yes | Limit is per data source.  
+Maximum concurrent queries | 30 | Yes |  Limit is per data source and applies to queries in pending or running state.  Includes interactive queries (for example, data retrieval commands like `SELECT`) and index queries (for example, operations like `CREATE`/`ALTER`).   
+Maximum concurrent OCU per query | 512 | Yes |  OpenSearch Compute Units (OCU). Limit based on 15 executors and 1 driver, each with 16 vCPU and 32 GB memory. Represents concurrent processing power.  
+Maximum query execution time in minutes | 60 | No | Limit applies to OpenSearch PPL/SQL queries in CloudWatch Logs Insights.  
+Period for purging stale query IDs | 90 days | Yes | This is the time period after which OpenSearch Service purges query metadata for older entries. For example, calling GetDirectQuery or GetDirectQueryResult fails for queries older than 90 days.  
+  
+## Supported AWS Regions
+
+The following AWS Regions are supported for direct queries in CloudWatch Logs:
+
+  * Asia Pacific (Mumbai) 
+
+  * Asia Pacific (Hong Kong)
+
+  * Asia Pacific (Osaka)
+
+  * Asia Pacific (Seoul)
+
+  * Asia Pacific (Singapore)
+
+  * Asia Pacific (Sydney)
+
+  * Asia Pacific (Tokyo)
+
+  * Canada (Central)
+
+  * Europe (Frankfurt)
+
+  * Europe (Ireland)
+
+  * Europe (Stockholm)
+
+  * Europe (Milan)
+
+  * Europe (Spain)
+
+  * US East (N. Virginia)
+
+  * US East (Ohio)
+
+  * US West (Oregon)
+
+  * US West (N. California)
+
+  * Europe (Paris) 
+
+  * Europe (London)
+
+  * South America (Sao Paulo)
+