Class: Aws::CloudWatchLogs::Types::GetQueryResultsResponse

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-cloudwatchlogs/lib/aws-sdk-cloudwatchlogs/types.rb

Overview

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#encryption_keyString

If you associated an KMS key with the CloudWatch Logs Insights query results in this account, this field displays the ARN of the key that's used to encrypt the query results when StartQuery stores them.

Returns:

  • (String)


2902
2903
2904
2905
2906
2907
2908
2909
# File 'gems/aws-sdk-cloudwatchlogs/lib/aws-sdk-cloudwatchlogs/types.rb', line 2902

class GetQueryResultsResponse < Struct.new(
  :results,
  :statistics,
  :status,
  :encryption_key)
  SENSITIVE = []
  include Aws::Structure
end

#resultsArray<Array<Types::ResultField>>

The log events that matched the query criteria during the most recent time it ran.

The results value is an array of arrays. Each log event is one object in the top-level array. Each of these log event objects is an array of field/value pairs.

Returns:



2902
2903
2904
2905
2906
2907
2908
2909
# File 'gems/aws-sdk-cloudwatchlogs/lib/aws-sdk-cloudwatchlogs/types.rb', line 2902

class GetQueryResultsResponse < Struct.new(
  :results,
  :statistics,
  :status,
  :encryption_key)
  SENSITIVE = []
  include Aws::Structure
end

#statisticsTypes::QueryStatistics

Includes the number of log events scanned by the query, the number of log events that matched the query criteria, and the total number of bytes in the scanned log events. These values reflect the full raw results of the query.



2902
2903
2904
2905
2906
2907
2908
2909
# File 'gems/aws-sdk-cloudwatchlogs/lib/aws-sdk-cloudwatchlogs/types.rb', line 2902

class GetQueryResultsResponse < Struct.new(
  :results,
  :statistics,
  :status,
  :encryption_key)
  SENSITIVE = []
  include Aws::Structure
end

#statusString

The status of the most recent running of the query. Possible values are Cancelled, Complete, Failed, Running, Scheduled, Timeout, and Unknown.

Queries time out after 60 minutes of runtime. To avoid having your queries time out, reduce the time range being searched or partition your query into a number of queries.

Returns:

  • (String)


2902
2903
2904
2905
2906
2907
2908
2909
# File 'gems/aws-sdk-cloudwatchlogs/lib/aws-sdk-cloudwatchlogs/types.rb', line 2902

class GetQueryResultsResponse < Struct.new(
  :results,
  :statistics,
  :status,
  :encryption_key)
  SENSITIVE = []
  include Aws::Structure
end