You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The logs describe-queries command supports a --query-language option that should allow filtering at the API level for queries in a specific query language (CWLI, SQL or PPL). This appears to work for the "SQL" query language, but not for "CWLI".
A client-side filter using --query shows that I have logs insights queries with both "CWLI" and "SQL" query languages:
Performing the same filtering via the API filter using the --query-language option produces the same result for "SQL" query language, but no results for the "CWLI" query language:
Am I doing something wrong, or is this a bug in the CLI and/or API?
Regression Issue
Select this option if this issue appears to be a regression.
Expected Behavior
Using the --query-language CWLI option to aws logs describe-queries should return the queries with query language "CWLI".
Current Behavior
No results are returned.
Reproduction Steps
Perform a CloudWatch Logs Insights query using query language CWLI via the API/CLI/console.
Run aws logs describe-queries (without the --query-language option) to confirm the query from step 1 is included in the results and that the queryLanguage is CWLI.
Run aws logs describe-queries --query-language CWLI and check whether the query from step 1 is included in the results.
Possible Solution
No response
Additional Information/Context
No response
CLI version used
2.22.18
Environment details (OS name and version, etc.)
Windows 11
The text was updated successfully, but these errors were encountered:
Describe the bug
The
logs describe-queries
command supports a--query-language
option that should allow filtering at the API level for queries in a specific query language (CWLI, SQL or PPL). This appears to work for the "SQL" query language, but not for "CWLI".A client-side filter using
--query
shows that I have logs insights queries with both "CWLI" and "SQL" query languages:Performing the same filtering via the API filter using the
--query-language
option produces the same result for "SQL" query language, but no results for the "CWLI" query language:Am I doing something wrong, or is this a bug in the CLI and/or API?
Regression Issue
Expected Behavior
Using the
--query-language CWLI
option toaws logs describe-queries
should return the queries with query language "CWLI".Current Behavior
No results are returned.
Reproduction Steps
aws logs describe-queries
(without the--query-language
option) to confirm the query from step 1 is included in the results and that thequeryLanguage
isCWLI
.aws logs describe-queries --query-language CWLI
and check whether the query from step 1 is included in the results.Possible Solution
No response
Additional Information/Context
No response
CLI version used
2.22.18
Environment details (OS name and version, etc.)
Windows 11
The text was updated successfully, but these errors were encountered: