StartQueryRequest
Types
Properties
The maximum number of log events to return from the query. The maximum limit is 100,000. The maximum events returned in a single GetQueryResults API call is 10,000 log events per request. You can retrieve up to 100,000 log event results from a query by paginating with the nextToken. 100,000 limit is only supported for Logs Insights QL and is currently not supported for PPL and SQL query languages.
The list of log groups to query. You can include up to 50 log groups.
The log group on which to perform the query.
The list of log groups to be queried. You can include up to 50 log groups.
Specify the query language to use for this query. The options are Logs Insights QL, OpenSearch PPL, and OpenSearch SQL. For more information about the query languages that CloudWatch Logs supports, see Supported query languages.
The query string to use. For more information, see CloudWatch Logs Insights Query Syntax.