class Amazonite::CloudWatchLogs::LogEvent

Overview

This structure contains the information for one sample log event that is associated with an anomaly found by a log anomaly detector.

Included Modules

Defined in:

cloudwatch_logs/log_event.cr

Constructors

Instance Method Summary

Constructor Detail

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

[View source]
def self.new(timestamp : Int64 | Nil = nil, message : 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 hash(hasher) #
Description copied from class Reference

See Object#hash(hasher)


def message : String | Nil #

The message content of the log event.


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

The message content of the log event.


[View source]
def timestamp : Int64 | Nil #

The time stamp of the log event.


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

The time stamp of the log event.


[View source]
def validate! : Nil #

[View source]