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

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

Inherits:
Struct
  • Object
show all
Defined in:
(unknown)

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)

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

#creation_timeInteger

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

Returns:

  • (Integer)

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

#first_event_timestampInteger

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

Returns:

  • (Integer)

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

#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 after 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)

    the time of the most recent log event in the log stream in CloudWatch Logs.

#last_ingestion_timeInteger

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

Returns:

  • (Integer)

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

#log_stream_nameString

The name of the log stream.

Returns:

  • (String)

    The name of the log stream.

#stored_bytesInteger

The number of bytes stored.

Returns:

  • (Integer)

    The number of bytes stored.

#upload_sequence_tokenString

The sequence token.

Returns:

  • (String)

    The sequence token.