class Amazonite::CloudWatchLogs::ResultField

Overview

Contains one field from one log event returned by a CloudWatch Logs Insights query, along with the value of that field.

For more information about the fields that are generated by CloudWatch logs, see Supported Logs and Discovered Fields.

Included Modules

Defined in:

cloudwatch_logs/result_field.cr

Constructors

Instance Method Summary

Constructor Detail

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

[View source]
def self.new(field : String | Nil = nil, value : 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 field : String | Nil #

The log event field.


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

The log event field.


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

See Object#hash(hasher)


def validate! : Nil #

[View source]
def value : String | Nil #

The value of this field.


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

The value of this field.


[View source]