Class: Aws::CloudWatchLogs::Types::AnomalyDetector

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

Overview

Contains information about one anomaly detector in the account.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#anomaly_detector_arnString

The ARN of the anomaly detector.

Returns:

  • (String)


270
271
272
273
274
275
276
277
278
279
280
281
282
283
# File 'lib/aws-sdk-cloudwatchlogs/types.rb', line 270

class AnomalyDetector < Struct.new(
  :anomaly_detector_arn,
  :detector_name,
  :log_group_arn_list,
  :evaluation_frequency,
  :filter_pattern,
  :anomaly_detector_status,
  :kms_key_id,
  :creation_time_stamp,
  :last_modified_time_stamp,
  :anomaly_visibility_time)
  SENSITIVE = []
  include Aws::Structure
end

#anomaly_detector_statusString

Specifies the current status of the anomaly detector. To pause an anomaly detector, use the ‘enabled` parameter in the

UpdateLogAnomalyDetector][1

operation.

[1]: docs.aws.amazon.com/AmazonCloudWatchLogs/latest/APIReference/API_UpdateLogAnomalyDetector.html

Returns:

  • (String)


270
271
272
273
274
275
276
277
278
279
280
281
282
283
# File 'lib/aws-sdk-cloudwatchlogs/types.rb', line 270

class AnomalyDetector < Struct.new(
  :anomaly_detector_arn,
  :detector_name,
  :log_group_arn_list,
  :evaluation_frequency,
  :filter_pattern,
  :anomaly_detector_status,
  :kms_key_id,
  :creation_time_stamp,
  :last_modified_time_stamp,
  :anomaly_visibility_time)
  SENSITIVE = []
  include Aws::Structure
end

#anomaly_visibility_timeInteger

The number of days used 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.

Returns:

  • (Integer)


270
271
272
273
274
275
276
277
278
279
280
281
282
283
# File 'lib/aws-sdk-cloudwatchlogs/types.rb', line 270

class AnomalyDetector < Struct.new(
  :anomaly_detector_arn,
  :detector_name,
  :log_group_arn_list,
  :evaluation_frequency,
  :filter_pattern,
  :anomaly_detector_status,
  :kms_key_id,
  :creation_time_stamp,
  :last_modified_time_stamp,
  :anomaly_visibility_time)
  SENSITIVE = []
  include Aws::Structure
end

#creation_time_stampInteger

The date and time when this anomaly detector was created.

Returns:

  • (Integer)


270
271
272
273
274
275
276
277
278
279
280
281
282
283
# File 'lib/aws-sdk-cloudwatchlogs/types.rb', line 270

class AnomalyDetector < Struct.new(
  :anomaly_detector_arn,
  :detector_name,
  :log_group_arn_list,
  :evaluation_frequency,
  :filter_pattern,
  :anomaly_detector_status,
  :kms_key_id,
  :creation_time_stamp,
  :last_modified_time_stamp,
  :anomaly_visibility_time)
  SENSITIVE = []
  include Aws::Structure
end

#detector_nameString

The name of the anomaly detector.

Returns:

  • (String)


270
271
272
273
274
275
276
277
278
279
280
281
282
283
# File 'lib/aws-sdk-cloudwatchlogs/types.rb', line 270

class AnomalyDetector < Struct.new(
  :anomaly_detector_arn,
  :detector_name,
  :log_group_arn_list,
  :evaluation_frequency,
  :filter_pattern,
  :anomaly_detector_status,
  :kms_key_id,
  :creation_time_stamp,
  :last_modified_time_stamp,
  :anomaly_visibility_time)
  SENSITIVE = []
  include Aws::Structure
end

#evaluation_frequencyString

Specifies how often the anomaly detector runs and look for anomalies.

Returns:

  • (String)


270
271
272
273
274
275
276
277
278
279
280
281
282
283
# File 'lib/aws-sdk-cloudwatchlogs/types.rb', line 270

class AnomalyDetector < Struct.new(
  :anomaly_detector_arn,
  :detector_name,
  :log_group_arn_list,
  :evaluation_frequency,
  :filter_pattern,
  :anomaly_detector_status,
  :kms_key_id,
  :creation_time_stamp,
  :last_modified_time_stamp,
  :anomaly_visibility_time)
  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)


270
271
272
273
274
275
276
277
278
279
280
281
282
283
# File 'lib/aws-sdk-cloudwatchlogs/types.rb', line 270

class AnomalyDetector < Struct.new(
  :anomaly_detector_arn,
  :detector_name,
  :log_group_arn_list,
  :evaluation_frequency,
  :filter_pattern,
  :anomaly_detector_status,
  :kms_key_id,
  :creation_time_stamp,
  :last_modified_time_stamp,
  :anomaly_visibility_time)
  SENSITIVE = []
  include Aws::Structure
end

#kms_key_idString

The ID of the KMS key assigned to this anomaly detector, if any.

Returns:

  • (String)


270
271
272
273
274
275
276
277
278
279
280
281
282
283
# File 'lib/aws-sdk-cloudwatchlogs/types.rb', line 270

class AnomalyDetector < Struct.new(
  :anomaly_detector_arn,
  :detector_name,
  :log_group_arn_list,
  :evaluation_frequency,
  :filter_pattern,
  :anomaly_detector_status,
  :kms_key_id,
  :creation_time_stamp,
  :last_modified_time_stamp,
  :anomaly_visibility_time)
  SENSITIVE = []
  include Aws::Structure
end

#last_modified_time_stampInteger

The date and time when this anomaly detector was most recently modified.

Returns:

  • (Integer)


270
271
272
273
274
275
276
277
278
279
280
281
282
283
# File 'lib/aws-sdk-cloudwatchlogs/types.rb', line 270

class AnomalyDetector < Struct.new(
  :anomaly_detector_arn,
  :detector_name,
  :log_group_arn_list,
  :evaluation_frequency,
  :filter_pattern,
  :anomaly_detector_status,
  :kms_key_id,
  :creation_time_stamp,
  :last_modified_time_stamp,
  :anomaly_visibility_time)
  SENSITIVE = []
  include Aws::Structure
end

#log_group_arn_listArray<String>

A list of the ARNs of the log groups that this anomaly detector watches.

Returns:

  • (Array<String>)


270
271
272
273
274
275
276
277
278
279
280
281
282
283
# File 'lib/aws-sdk-cloudwatchlogs/types.rb', line 270

class AnomalyDetector < Struct.new(
  :anomaly_detector_arn,
  :detector_name,
  :log_group_arn_list,
  :evaluation_frequency,
  :filter_pattern,
  :anomaly_detector_status,
  :kms_key_id,
  :creation_time_stamp,
  :last_modified_time_stamp,
  :anomaly_visibility_time)
  SENSITIVE = []
  include Aws::Structure
end