class Amazonite::CloudWatchLogs::FilteredLogEvent

Overview

Represents a matched event.

Included Modules

Defined in:

cloudwatch_logs/filtered_log_event.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(pull : JSON::PullParser) #

[View source]
def self.new(log_stream_name : String | Nil = nil, timestamp : Int64 | Nil = nil, message : String | Nil = nil, ingestion_time : Int64 | Nil = nil, event_id : String | Nil = nil) #

[View source]
def self.new(*, __pull_for_json_serializable pull : JSON::PullParser) #

[View source]

Instance Method Detail

def ==(other : self) #
Description copied from class Reference

Returns true if this reference is the same as other. Invokes same?.


def event_id : String | Nil #

The ID of the event.


[View source]
def event_id=(event_id : String | Nil) #

The ID of the event.


[View source]
def hash(hasher) #
Description copied from class Reference

See Object#hash(hasher)


def ingestion_time : Int64 | Nil #

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


[View source]
def ingestion_time=(ingestion_time : Int64 | Nil) #

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


[View source]
def log_stream_name : String | Nil #

The name of the log stream to which this event belongs.


[View source]
def log_stream_name=(log_stream_name : String | Nil) #

The name of the log stream to which this event belongs.


[View source]
def message : String | Nil #

The data contained in the log event.


[View source]
def message=(message : String | Nil) #

The data contained in the log event.


[View source]
def timestamp : Int64 | Nil #

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


[View source]
def timestamp=(timestamp : Int64 | Nil) #

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


[View source]
def validate! : Nil #

[View source]