Class: Aws::CloudWatchLogs::Types::AnomalyDetector
- Inherits:
-
Struct
- Object
- Struct
- Aws::CloudWatchLogs::Types::AnomalyDetector
- 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
-
#anomaly_detector_arn ⇒ String
The ARN of the anomaly detector.
-
#anomaly_detector_status ⇒ String
Specifies the current status of the anomaly detector.
-
#anomaly_visibility_time ⇒ Integer
The number of days used as the life cycle of anomalies.
-
#creation_time_stamp ⇒ Integer
The date and time when this anomaly detector was created.
-
#detector_name ⇒ String
The name of the anomaly detector.
-
#evaluation_frequency ⇒ String
Specifies how often the anomaly detector runs and look for anomalies.
-
#filter_pattern ⇒ String
A symbolic description of how CloudWatch Logs should interpret the data in each log event.
-
#kms_key_id ⇒ String
The ID of the KMS key assigned to this anomaly detector, if any.
-
#last_modified_time_stamp ⇒ Integer
The date and time when this anomaly detector was most recently modified.
-
#log_group_arn_list ⇒ Array<String>
A list of the ARNs of the log groups that this anomaly detector watches.
Instance Attribute Details
#anomaly_detector_arn ⇒ String
The ARN of the anomaly detector.
321 322 323 324 325 326 327 328 329 330 331 332 333 334 |
# File 'lib/aws-sdk-cloudwatchlogs/types.rb', line 321 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_status ⇒ String
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
321 322 323 324 325 326 327 328 329 330 331 332 333 334 |
# File 'lib/aws-sdk-cloudwatchlogs/types.rb', line 321 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_time ⇒ Integer
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.
321 322 323 324 325 326 327 328 329 330 331 332 333 334 |
# File 'lib/aws-sdk-cloudwatchlogs/types.rb', line 321 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_stamp ⇒ Integer
The date and time when this anomaly detector was created.
321 322 323 324 325 326 327 328 329 330 331 332 333 334 |
# File 'lib/aws-sdk-cloudwatchlogs/types.rb', line 321 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_name ⇒ String
The name of the anomaly detector.
321 322 323 324 325 326 327 328 329 330 331 332 333 334 |
# File 'lib/aws-sdk-cloudwatchlogs/types.rb', line 321 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_frequency ⇒ String
Specifies how often the anomaly detector runs and look for anomalies.
321 322 323 324 325 326 327 328 329 330 331 332 333 334 |
# File 'lib/aws-sdk-cloudwatchlogs/types.rb', line 321 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_pattern ⇒ String
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.
321 322 323 324 325 326 327 328 329 330 331 332 333 334 |
# File 'lib/aws-sdk-cloudwatchlogs/types.rb', line 321 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_id ⇒ String
The ID of the KMS key assigned to this anomaly detector, if any.
321 322 323 324 325 326 327 328 329 330 331 332 333 334 |
# File 'lib/aws-sdk-cloudwatchlogs/types.rb', line 321 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_stamp ⇒ Integer
The date and time when this anomaly detector was most recently modified.
321 322 323 324 325 326 327 328 329 330 331 332 333 334 |
# File 'lib/aws-sdk-cloudwatchlogs/types.rb', line 321 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_list ⇒ Array<String>
A list of the ARNs of the log groups that this anomaly detector watches.
321 322 323 324 325 326 327 328 329 330 331 332 333 334 |
# File 'lib/aws-sdk-cloudwatchlogs/types.rb', line 321 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 |