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

Class: Aws::CloudWatchLogs::Types::SubscriptionFilter

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

Overview

Represents a subscription filter.

Instance Attribute Summary collapse

Instance Attribute Details

#creation_timeInteger

The creation time of the subscription filter, expressed as the number of milliseconds after Jan 1, 1970 00:00:00 UTC.

Returns:

  • (Integer)

    The creation time of the subscription filter, expressed as the number of milliseconds after Jan 1, 1970 00:00:00 UTC.

#destination_arnString

The Amazon Resource Name (ARN) of the destination.

Returns:

  • (String)

    The Amazon Resource Name (ARN) of the destination.

#distributionString

The method used to distribute log data to the destination, which can be either random or grouped by log stream.

Possible values:

  • Random
  • ByLogStream

Returns:

  • (String)

    The method used to distribute log data to the destination, which can be either random or grouped by log stream.

    .

#filter_nameString

The name of the subscription filter.

Returns:

  • (String)

    The name of the subscription filter.

#filter_patternString

A symbolic description of how CloudWatch Logs should interpret the data in each log event. For example, a log event can contain timestamps, IP addresses, strings, and so on. You use the filter pattern to specify what to look for in the log event message.

Returns:

  • (String)

    A symbolic description of how CloudWatch Logs should interpret the data in each log event.

#log_group_nameString

The name of the log group.

Returns:

  • (String)

    The name of the log group.

#role_arnString

Returns:

  • (String)