You are viewing documentation for version 3 of the AWS SDK for Ruby. Version 2 documentation can be found here.

Class: Aws::CloudWatchLogs::Types::LogStream

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

Overview

Represents a log stream, which is a sequence of log events from a single emitter of logs.

Instance Attribute Summary collapse

Instance Attribute Details

#arnString

The Amazon Resource Name (ARN) of the log stream.

Returns:

  • (String)


1136
1137
1138
1139
1140
1141
1142
1143
1144
1145
1146
# File 'gems/aws-sdk-cloudwatchlogs/lib/aws-sdk-cloudwatchlogs/types.rb', line 1136

class LogStream < Struct.new(
  :log_stream_name,
  :creation_time,
  :first_event_timestamp,
  :last_event_timestamp,
  :last_ingestion_time,
  :upload_sequence_token,
  :arn,
  :stored_bytes)
  include Aws::Structure
end

#creation_timeInteger

The creation time of the stream, expressed as the number of milliseconds since Jan 1, 1970 00:00:00 UTC.

Returns:

  • (Integer)


1136
1137
1138
1139
1140
1141
1142
1143
1144
1145
1146
# File 'gems/aws-sdk-cloudwatchlogs/lib/aws-sdk-cloudwatchlogs/types.rb', line 1136

class LogStream < Struct.new(
  :log_stream_name,
  :creation_time,
  :first_event_timestamp,
  :last_event_timestamp,
  :last_ingestion_time,
  :upload_sequence_token,
  :arn,
  :stored_bytes)
  include Aws::Structure
end

#first_event_timestampInteger

The time of the first event, expressed as the number of milliseconds since Jan 1, 1970 00:00:00 UTC.

Returns:

  • (Integer)


1136
1137
1138
1139
1140
1141
1142
1143
1144
1145
1146
# File 'gems/aws-sdk-cloudwatchlogs/lib/aws-sdk-cloudwatchlogs/types.rb', line 1136

class LogStream < Struct.new(
  :log_stream_name,
  :creation_time,
  :first_event_timestamp,
  :last_event_timestamp,
  :last_ingestion_time,
  :upload_sequence_token,
  :arn,
  :stored_bytes)
  include Aws::Structure
end

#last_event_timestampInteger

the time of the most recent log event in the log stream in CloudWatch Logs. This number is expressed as the number of milliseconds since Jan 1, 1970 00:00:00 UTC. lastEventTime updates on an eventual consistency basis. It typically updates in less than an hour from ingestion, but may take longer in some rare situations.

Returns:

  • (Integer)


1136
1137
1138
1139
1140
1141
1142
1143
1144
1145
1146
# File 'gems/aws-sdk-cloudwatchlogs/lib/aws-sdk-cloudwatchlogs/types.rb', line 1136

class LogStream < Struct.new(
  :log_stream_name,
  :creation_time,
  :first_event_timestamp,
  :last_event_timestamp,
  :last_ingestion_time,
  :upload_sequence_token,
  :arn,
  :stored_bytes)
  include Aws::Structure
end

#last_ingestion_timeInteger

The ingestion time, expressed as the number of milliseconds since Jan 1, 1970 00:00:00 UTC.

Returns:

  • (Integer)


1136
1137
1138
1139
1140
1141
1142
1143
1144
1145
1146
# File 'gems/aws-sdk-cloudwatchlogs/lib/aws-sdk-cloudwatchlogs/types.rb', line 1136

class LogStream < Struct.new(
  :log_stream_name,
  :creation_time,
  :first_event_timestamp,
  :last_event_timestamp,
  :last_ingestion_time,
  :upload_sequence_token,
  :arn,
  :stored_bytes)
  include Aws::Structure
end

#log_stream_nameString

The name of the log stream.

Returns:

  • (String)


1136
1137
1138
1139
1140
1141
1142
1143
1144
1145
1146
# File 'gems/aws-sdk-cloudwatchlogs/lib/aws-sdk-cloudwatchlogs/types.rb', line 1136

class LogStream < Struct.new(
  :log_stream_name,
  :creation_time,
  :first_event_timestamp,
  :last_event_timestamp,
  :last_ingestion_time,
  :upload_sequence_token,
  :arn,
  :stored_bytes)
  include Aws::Structure
end

#stored_bytesInteger

The number of bytes stored.

Returns:

  • (Integer)


1136
1137
1138
1139
1140
1141
1142
1143
1144
1145
1146
# File 'gems/aws-sdk-cloudwatchlogs/lib/aws-sdk-cloudwatchlogs/types.rb', line 1136

class LogStream < Struct.new(
  :log_stream_name,
  :creation_time,
  :first_event_timestamp,
  :last_event_timestamp,
  :last_ingestion_time,
  :upload_sequence_token,
  :arn,
  :stored_bytes)
  include Aws::Structure
end

#upload_sequence_tokenString

The sequence token.

Returns:

  • (String)


1136
1137
1138
1139
1140
1141
1142
1143
1144
1145
1146
# File 'gems/aws-sdk-cloudwatchlogs/lib/aws-sdk-cloudwatchlogs/types.rb', line 1136

class LogStream < Struct.new(
  :log_stream_name,
  :creation_time,
  :first_event_timestamp,
  :last_event_timestamp,
  :last_ingestion_time,
  :upload_sequence_token,
  :arn,
  :stored_bytes)
  include Aws::Structure
end