Skip to content

/AWS1/CL_CWL=>DESCRIBEQUERIES()

About DescribeQueries

Returns a list of CloudWatch Logs Insights queries that are scheduled, running, or have been run recently in this account. You can request all queries or limit it to queries of a specific log group or queries with a certain status.

Method Signature

IMPORTING

Optional arguments:

IV_LOGGROUPNAME TYPE /AWS1/CWLLOGGROUPNAME /AWS1/CWLLOGGROUPNAME

Limits the returned queries to only those for the specified log group.

IV_STATUS TYPE /AWS1/CWLQUERYSTATUS /AWS1/CWLQUERYSTATUS

Limits the returned queries to only those that have the specified status. Valid values are Cancelled, Complete, Failed, Running, and Scheduled.

IV_MAXRESULTS TYPE /AWS1/CWLDESCRQUERIESMAXRSLTS /AWS1/CWLDESCRQUERIESMAXRSLTS

Limits the number of returned queries to the specified number.

IV_NEXTTOKEN TYPE /AWS1/CWLNEXTTOKEN /AWS1/CWLNEXTTOKEN

nextToken

RETURNING

OO_OUTPUT TYPE REF TO /AWS1/CL_CWLDESCRQUERIESRSP /AWS1/CL_CWLDESCRQUERIESRSP