class
Amazonite::CloudWatchLogs::LogStream
- Amazonite::CloudWatchLogs::LogStream
- Reference
- Object
Overview
Represents a log stream, which is a sequence of log events from a single emitter of logs.
Included Modules
- JSON::Serializable
Defined in:
cloudwatch_logs/log_stream.crConstructors
- .new(pull : JSON::PullParser)
- .new(log_stream_name : String | Nil = nil, creation_time : Int64 | Nil = nil, first_event_timestamp : Int64 | Nil = nil, last_event_timestamp : Int64 | Nil = nil, last_ingestion_time : Int64 | Nil = nil, upload_sequence_token : String | Nil = nil, arn : String | Nil = nil, stored_bytes : Int64 | Nil = nil)
Instance Method Summary
-
#==(other : self)
Returns
trueif this reference is the same as other. -
#arn : String | Nil
The Amazon Resource Name (ARN) of the log stream.
-
#arn=(arn : String | Nil)
The Amazon Resource Name (ARN) of the log stream.
-
#creation_time : Int64 | Nil
The creation time of the stream, expressed as the number of milliseconds after
Jan 1, 1970 00:00:00 UTC. -
#creation_time=(creation_time : Int64 | Nil)
The creation time of the stream, expressed as the number of milliseconds after
Jan 1, 1970 00:00:00 UTC. -
#first_event_timestamp : Int64 | Nil
The time of the first event, expressed as the number of milliseconds after
Jan 1, 1970 00:00:00 UTC. -
#first_event_timestamp=(first_event_timestamp : Int64 | Nil)
The time of the first event, expressed as the number of milliseconds after
Jan 1, 1970 00:00:00 UTC. -
#hash(hasher)
See
Object#hash(hasher) -
#last_event_timestamp : Int64 | Nil
The time of the most recent log event in the log stream in CloudWatch Logs.
-
#last_event_timestamp=(last_event_timestamp : Int64 | Nil)
The time of the most recent log event in the log stream in CloudWatch Logs.
-
#last_ingestion_time : Int64 | Nil
The ingestion time, expressed as the number of milliseconds after
Jan 1, 1970 00:00:00 UTCThelastIngestionTimevalue updates on an eventual consistency basis. -
#last_ingestion_time=(last_ingestion_time : Int64 | Nil)
The ingestion time, expressed as the number of milliseconds after
Jan 1, 1970 00:00:00 UTCThelastIngestionTimevalue updates on an eventual consistency basis. -
#log_stream_name : String | Nil
The name of the log stream.
-
#log_stream_name=(log_stream_name : String | Nil)
The name of the log stream.
-
#stored_bytes : Int64 | Nil
The number of bytes stored.
-
#stored_bytes=(stored_bytes : Int64 | Nil)
The number of bytes stored.
-
#upload_sequence_token : String | Nil
The sequence token.
-
#upload_sequence_token=(upload_sequence_token : String | Nil)
The sequence token.
- #validate! : Nil
Constructor Detail
Instance Method Detail
Returns true if this reference is the same as other. Invokes same?.
The creation time of the stream, expressed as the number of milliseconds after Jan 1, 1970 00:00:00 UTC.
The creation time of the stream, expressed as the number of milliseconds after Jan 1, 1970 00:00:00 UTC.
The time of the first event, expressed as the number of milliseconds after Jan 1, 1970 00:00:00 UTC.
The time of the first event, expressed as the number of milliseconds after Jan 1, 1970 00:00:00 UTC.
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. The lastEventTime
value updates on an eventual consistency basis. It typically updates in less than an hour from
ingestion, but in rare situations might take longer.
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. The lastEventTime
value updates on an eventual consistency basis. It typically updates in less than an hour from
ingestion, but in rare situations might take longer.
The ingestion time, expressed as the number of milliseconds after Jan 1, 1970 00:00:00 UTC The
lastIngestionTime value updates on an eventual consistency basis. It typically updates in less
than an hour after ingestion, but in rare situations might take longer.
The ingestion time, expressed as the number of milliseconds after Jan 1, 1970 00:00:00 UTC The
lastIngestionTime value updates on an eventual consistency basis. It typically updates in less
than an hour after ingestion, but in rare situations might take longer.
The number of bytes stored.
Important: As of June 17, 2019, this parameter is no longer supported for log streams, and
is always reported as zero. This change applies only to log streams. The storedBytes parameter
for log groups is not affected.
The number of bytes stored.
Important: As of June 17, 2019, this parameter is no longer supported for log streams, and
is always reported as zero. This change applies only to log streams. The storedBytes parameter
for log groups is not affected.
The sequence token.
The sequence token is now ignored in PutLogEvents actions. PutLogEvents actions are always
accepted regardless of receiving an invalid sequence token. You don't need to obtain
uploadSequenceToken to use a PutLogEvents action.
The sequence token.
The sequence token is now ignored in PutLogEvents actions. PutLogEvents actions are always
accepted regardless of receiving an invalid sequence token. You don't need to obtain
uploadSequenceToken to use a PutLogEvents action.