Class: Aws::CloudWatchLogs::Types::FieldIndex

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

Overview

This structure describes one log event field that is used as an index in at least one index policy in this account.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#field_index_nameString

The string that this field index matches.

Returns:

  • (String)


3381
3382
3383
3384
3385
3386
3387
3388
3389
3390
# File 'gems/aws-sdk-cloudwatchlogs/lib/aws-sdk-cloudwatchlogs/types.rb', line 3381

class FieldIndex < Struct.new(
  :log_group_identifier,
  :field_index_name,
  :last_scan_time,
  :first_event_time,
  :last_event_time,
  :type)
  SENSITIVE = []
  include Aws::Structure
end

#first_event_timeInteger

The time and date of the earliest log event that matches this field index, after the index policy that contains it was created.

Returns:

  • (Integer)


3381
3382
3383
3384
3385
3386
3387
3388
3389
3390
# File 'gems/aws-sdk-cloudwatchlogs/lib/aws-sdk-cloudwatchlogs/types.rb', line 3381

class FieldIndex < Struct.new(
  :log_group_identifier,
  :field_index_name,
  :last_scan_time,
  :first_event_time,
  :last_event_time,
  :type)
  SENSITIVE = []
  include Aws::Structure
end

#last_event_timeInteger

The time and date of the most recent log event that matches this field index.

Returns:

  • (Integer)


3381
3382
3383
3384
3385
3386
3387
3388
3389
3390
# File 'gems/aws-sdk-cloudwatchlogs/lib/aws-sdk-cloudwatchlogs/types.rb', line 3381

class FieldIndex < Struct.new(
  :log_group_identifier,
  :field_index_name,
  :last_scan_time,
  :first_event_time,
  :last_event_time,
  :type)
  SENSITIVE = []
  include Aws::Structure
end

#last_scan_timeInteger

The most recent time that CloudWatch Logs scanned ingested log events to search for this field index to improve the speed of future CloudWatch Logs Insights queries that search for this field index.

Returns:

  • (Integer)


3381
3382
3383
3384
3385
3386
3387
3388
3389
3390
# File 'gems/aws-sdk-cloudwatchlogs/lib/aws-sdk-cloudwatchlogs/types.rb', line 3381

class FieldIndex < Struct.new(
  :log_group_identifier,
  :field_index_name,
  :last_scan_time,
  :first_event_time,
  :last_event_time,
  :type)
  SENSITIVE = []
  include Aws::Structure
end

#log_group_identifierString

If this field index appears in an index policy that applies only to a single log group, the ARN of that log group is displayed here.

Returns:

  • (String)


3381
3382
3383
3384
3385
3386
3387
3388
3389
3390
# File 'gems/aws-sdk-cloudwatchlogs/lib/aws-sdk-cloudwatchlogs/types.rb', line 3381

class FieldIndex < Struct.new(
  :log_group_identifier,
  :field_index_name,
  :last_scan_time,
  :first_event_time,
  :last_event_time,
  :type)
  SENSITIVE = []
  include Aws::Structure
end

#typeString

The type of index. Specify FACET for facet-based indexing or FIELD_INDEX for field-based indexing. This determines how the field is indexed and can be queried.

Returns:

  • (String)


3381
3382
3383
3384
3385
3386
3387
3388
3389
3390
# File 'gems/aws-sdk-cloudwatchlogs/lib/aws-sdk-cloudwatchlogs/types.rb', line 3381

class FieldIndex < Struct.new(
  :log_group_identifier,
  :field_index_name,
  :last_scan_time,
  :first_event_time,
  :last_event_time,
  :type)
  SENSITIVE = []
  include Aws::Structure
end