You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.

Class: Aws::CloudWatchLogs::Types::InputLogEvent

Inherits:
Struct
  • Object
show all
Defined in:
(unknown)

Overview

Note:

When passing InputLogEvent as input to an Aws::Client method, you can use a vanilla Hash:

{
  timestamp: 1, # required
  message: "EventMessage", # required
}

Represents a log event, which is a record of activity that was recorded by the application or resource being monitored.

Instance Attribute Summary collapse

Instance Attribute Details

#messageString

The raw event message.

Returns:

  • (String)

    The raw event message.

#timestampInteger

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

Returns:

  • (Integer)

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