class Amazonite::CloudWatchLogs::ParseToOCSF

Overview

This processor converts logs into Open Cybersecurity Schema Framework (OCSF) events.

For more information about this processor including examples, see parseToOCSF in the CloudWatch Logs User Guide.

Included Modules

Defined in:

cloudwatch_logs/parse_to_ocsf.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(event_source : EventSource, ocsf_version : OCSFVersion, source : String | Nil = nil, mapping_version : String | Nil = nil) #

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

[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_source : EventSource #

Specify the service or process that produces the log events that will be converted with this processor.


[View source]
def event_source=(event_source : EventSource) #

Specify the service or process that produces the log events that will be converted with this processor.


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

See Object#hash(hasher)


def mapping_version : String | Nil #

The version of the OCSF mapping to use for parsing log data.


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

The version of the OCSF mapping to use for parsing log data.


[View source]
def ocsf_version : OCSFVersion #

Specify which version of the OCSF schema to use for the transformed log events.


[View source]
def ocsf_version=(ocsf_version : OCSFVersion) #

Specify which version of the OCSF schema to use for the transformed log events.


[View source]
def source : String | Nil #

The path to the field in the log event that you want to parse. If you omit this value, the whole log message is parsed.


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

The path to the field in the log event that you want to parse. If you omit this value, the whole log message is parsed.


[View source]
def validate! : Nil #

[View source]