Class: Aws::CloudWatchLogs::Types::UpdateLogAnomalyDetectorRequest

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-cloudwatchlogs/lib/aws-sdk-cloudwatchlogs/types.rb

Overview

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#anomaly_detector_arnString

The ARN of the anomaly detector that you want to update.

Returns:

  • (String)


5062
5063
5064
5065
5066
5067
5068
5069
5070
# File 'gems/aws-sdk-cloudwatchlogs/lib/aws-sdk-cloudwatchlogs/types.rb', line 5062

class UpdateLogAnomalyDetectorRequest < Struct.new(
  :anomaly_detector_arn,
  :evaluation_frequency,
  :filter_pattern,
  :anomaly_visibility_time,
  :enabled)
  SENSITIVE = []
  include Aws::Structure
end

#anomaly_visibility_timeInteger

The number of days to use as the life cycle of anomalies. After this time, anomalies are automatically baselined and the anomaly detector model will treat new occurrences of similar event as normal. Therefore, if you do not correct the cause of an anomaly during this time, it will be considered normal going forward and will not be detected.

Returns:

  • (Integer)


5062
5063
5064
5065
5066
5067
5068
5069
5070
# File 'gems/aws-sdk-cloudwatchlogs/lib/aws-sdk-cloudwatchlogs/types.rb', line 5062

class UpdateLogAnomalyDetectorRequest < Struct.new(
  :anomaly_detector_arn,
  :evaluation_frequency,
  :filter_pattern,
  :anomaly_visibility_time,
  :enabled)
  SENSITIVE = []
  include Aws::Structure
end

#enabledBoolean

Use this parameter to pause or restart the anomaly detector.

Returns:

  • (Boolean)


5062
5063
5064
5065
5066
5067
5068
5069
5070
# File 'gems/aws-sdk-cloudwatchlogs/lib/aws-sdk-cloudwatchlogs/types.rb', line 5062

class UpdateLogAnomalyDetectorRequest < Struct.new(
  :anomaly_detector_arn,
  :evaluation_frequency,
  :filter_pattern,
  :anomaly_visibility_time,
  :enabled)
  SENSITIVE = []
  include Aws::Structure
end

#evaluation_frequencyString

Specifies how often the anomaly detector runs and look for anomalies. Set this value according to the frequency that the log group receives new logs. For example, if the log group receives new log events every 10 minutes, then setting evaluationFrequency to FIFTEEN_MIN might be appropriate.

Returns:

  • (String)


5062
5063
5064
5065
5066
5067
5068
5069
5070
# File 'gems/aws-sdk-cloudwatchlogs/lib/aws-sdk-cloudwatchlogs/types.rb', line 5062

class UpdateLogAnomalyDetectorRequest < Struct.new(
  :anomaly_detector_arn,
  :evaluation_frequency,
  :filter_pattern,
  :anomaly_visibility_time,
  :enabled)
  SENSITIVE = []
  include Aws::Structure
end

#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)


5062
5063
5064
5065
5066
5067
5068
5069
5070
# File 'gems/aws-sdk-cloudwatchlogs/lib/aws-sdk-cloudwatchlogs/types.rb', line 5062

class UpdateLogAnomalyDetectorRequest < Struct.new(
  :anomaly_detector_arn,
  :evaluation_frequency,
  :filter_pattern,
  :anomaly_visibility_time,
  :enabled)
  SENSITIVE = []
  include Aws::Structure
end