Class: Aws::CloudWatchLogs::Types::QueryInfo

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

Overview

Information about one CloudWatch Logs Insights query that matches the request in a DescribeQueries operation.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#bytes_scanned ⇒ Float

The total number of bytes scanned by the query. This indicates the cost associated with the query.

Returns:

  • (Float)


9177
9178
9179
9180
9181
9182
9183
9184
9185
9186
9187
9188
9189
# File 'gems/aws-sdk-cloudwatchlogs/lib/aws-sdk-cloudwatchlogs/types.rb', line 9177

class QueryInfo < Struct.new(
  :query_language,
  :query_id,
  :query_string,
  :status,
  :create_time,
  :log_group_name,
  :query_duration,
  :bytes_scanned,
  :user_identity)
  SENSITIVE = []
  include Aws::Structure
end

#create_time ⇒ Integer

The date and time that this query was created.

Returns:

  • (Integer)


9177
9178
9179
9180
9181
9182
9183
9184
9185
9186
9187
9188
9189
# File 'gems/aws-sdk-cloudwatchlogs/lib/aws-sdk-cloudwatchlogs/types.rb', line 9177

class QueryInfo < Struct.new(
  :query_language,
  :query_id,
  :query_string,
  :status,
  :create_time,
  :log_group_name,
  :query_duration,
  :bytes_scanned,
  :user_identity)
  SENSITIVE = []
  include Aws::Structure
end

#log_group_name ⇒ String

The name of the log group scanned by this query.

Returns:

  • (String)


9177
9178
9179
9180
9181
9182
9183
9184
9185
9186
9187
9188
9189
# File 'gems/aws-sdk-cloudwatchlogs/lib/aws-sdk-cloudwatchlogs/types.rb', line 9177

class QueryInfo < Struct.new(
  :query_language,
  :query_id,
  :query_string,
  :status,
  :create_time,
  :log_group_name,
  :query_duration,
  :bytes_scanned,
  :user_identity)
  SENSITIVE = []
  include Aws::Structure
end

#query_duration ⇒ Integer

The duration in milliseconds that the query took to execute.

Returns:

  • (Integer)


9177
9178
9179
9180
9181
9182
9183
9184
9185
9186
9187
9188
9189
# File 'gems/aws-sdk-cloudwatchlogs/lib/aws-sdk-cloudwatchlogs/types.rb', line 9177

class QueryInfo < Struct.new(
  :query_language,
  :query_id,
  :query_string,
  :status,
  :create_time,
  :log_group_name,
  :query_duration,
  :bytes_scanned,
  :user_identity)
  SENSITIVE = []
  include Aws::Structure
end

#query_id ⇒ String

The unique ID number of this query.

Returns:

  • (String)


9177
9178
9179
9180
9181
9182
9183
9184
9185
9186
9187
9188
9189
# File 'gems/aws-sdk-cloudwatchlogs/lib/aws-sdk-cloudwatchlogs/types.rb', line 9177

class QueryInfo < Struct.new(
  :query_language,
  :query_id,
  :query_string,
  :status,
  :create_time,
  :log_group_name,
  :query_duration,
  :bytes_scanned,
  :user_identity)
  SENSITIVE = []
  include Aws::Structure
end

#query_language ⇒ String

The query language used for this query. For more information about the query languages that CloudWatch Logs supports, see Supported query languages.

Returns:

  • (String)


9177
9178
9179
9180
9181
9182
9183
9184
9185
9186
9187
9188
9189
# File 'gems/aws-sdk-cloudwatchlogs/lib/aws-sdk-cloudwatchlogs/types.rb', line 9177

class QueryInfo < Struct.new(
  :query_language,
  :query_id,
  :query_string,
  :status,
  :create_time,
  :log_group_name,
  :query_duration,
  :bytes_scanned,
  :user_identity)
  SENSITIVE = []
  include Aws::Structure
end

#query_string ⇒ String

The query string used in this query.

Returns:

  • (String)


9177
9178
9179
9180
9181
9182
9183
9184
9185
9186
9187
9188
9189
# File 'gems/aws-sdk-cloudwatchlogs/lib/aws-sdk-cloudwatchlogs/types.rb', line 9177

class QueryInfo < Struct.new(
  :query_language,
  :query_id,
  :query_string,
  :status,
  :create_time,
  :log_group_name,
  :query_duration,
  :bytes_scanned,
  :user_identity)
  SENSITIVE = []
  include Aws::Structure
end

#status ⇒ String

The status of this query. Possible values are Cancelled, Complete, Failed, Running, Scheduled, and Unknown.

Returns:

  • (String)


9177
9178
9179
9180
9181
9182
9183
9184
9185
9186
9187
9188
9189
# File 'gems/aws-sdk-cloudwatchlogs/lib/aws-sdk-cloudwatchlogs/types.rb', line 9177

class QueryInfo < Struct.new(
  :query_language,
  :query_id,
  :query_string,
  :status,
  :create_time,
  :log_group_name,
  :query_duration,
  :bytes_scanned,
  :user_identity)
  SENSITIVE = []
  include Aws::Structure
end

#user_identity ⇒ String

The ARN of the user who ran the query.

Returns:

  • (String)


9177
9178
9179
9180
9181
9182
9183
9184
9185
9186
9187
9188
9189
# File 'gems/aws-sdk-cloudwatchlogs/lib/aws-sdk-cloudwatchlogs/types.rb', line 9177

class QueryInfo < Struct.new(
  :query_language,
  :query_id,
  :query_string,
  :status,
  :create_time,
  :log_group_name,
  :query_duration,
  :bytes_scanned,
  :user_identity)
  SENSITIVE = []
  include Aws::Structure
end