1. Packages
  2. AWS Native
  3. API Docs
  4. logs
  5. getLogAnomalyDetector

AWS Native is in preview. AWS Classic is fully supported.

AWS Native v0.109.0 published on Wednesday, Jun 26, 2024 by Pulumi

aws-native.logs.getLogAnomalyDetector

Explore with Pulumi AI

aws-native logo

AWS Native is in preview. AWS Classic is fully supported.

AWS Native v0.109.0 published on Wednesday, Jun 26, 2024 by Pulumi

    The AWS::Logs::LogAnomalyDetector resource specifies a CloudWatch Logs LogAnomalyDetector.

    Using getLogAnomalyDetector

    Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.

    function getLogAnomalyDetector(args: GetLogAnomalyDetectorArgs, opts?: InvokeOptions): Promise<GetLogAnomalyDetectorResult>
    function getLogAnomalyDetectorOutput(args: GetLogAnomalyDetectorOutputArgs, opts?: InvokeOptions): Output<GetLogAnomalyDetectorResult>
    def get_log_anomaly_detector(anomaly_detector_arn: Optional[str] = None,
                                 opts: Optional[InvokeOptions] = None) -> GetLogAnomalyDetectorResult
    def get_log_anomaly_detector_output(anomaly_detector_arn: Optional[pulumi.Input[str]] = None,
                                 opts: Optional[InvokeOptions] = None) -> Output[GetLogAnomalyDetectorResult]
    func LookupLogAnomalyDetector(ctx *Context, args *LookupLogAnomalyDetectorArgs, opts ...InvokeOption) (*LookupLogAnomalyDetectorResult, error)
    func LookupLogAnomalyDetectorOutput(ctx *Context, args *LookupLogAnomalyDetectorOutputArgs, opts ...InvokeOption) LookupLogAnomalyDetectorResultOutput

    > Note: This function is named LookupLogAnomalyDetector in the Go SDK.

    public static class GetLogAnomalyDetector 
    {
        public static Task<GetLogAnomalyDetectorResult> InvokeAsync(GetLogAnomalyDetectorArgs args, InvokeOptions? opts = null)
        public static Output<GetLogAnomalyDetectorResult> Invoke(GetLogAnomalyDetectorInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetLogAnomalyDetectorResult> getLogAnomalyDetector(GetLogAnomalyDetectorArgs args, InvokeOptions options)
    // Output-based functions aren't available in Java yet
    
    fn::invoke:
      function: aws-native:logs:getLogAnomalyDetector
      arguments:
        # arguments dictionary

    The following arguments are supported:

    AnomalyDetectorArn string
    ARN of LogAnomalyDetector
    AnomalyDetectorArn string
    ARN of LogAnomalyDetector
    anomalyDetectorArn String
    ARN of LogAnomalyDetector
    anomalyDetectorArn string
    ARN of LogAnomalyDetector
    anomaly_detector_arn str
    ARN of LogAnomalyDetector
    anomalyDetectorArn String
    ARN of LogAnomalyDetector

    getLogAnomalyDetector Result

    The following output properties are available:

    AnomalyDetectorArn string
    ARN of LogAnomalyDetector
    AnomalyDetectorStatus string
    Current status of detector.
    AnomalyVisibilityTime double
    The number of days to have visibility on an anomaly. After this time period has elapsed for an anomaly, it will be automatically baselined and the anomaly detector will treat new occurrences of a similar anomaly as normal. Therefore, if you do not correct the cause of an anomaly during the time period specified in AnomalyVisibilityTime , it will be considered normal going forward and will not be detected as an anomaly.
    CreationTimeStamp double
    When detector was created.
    DetectorName string
    Name of detector
    EvaluationFrequency Pulumi.AwsNative.Logs.LogAnomalyDetectorEvaluationFrequency
    How often log group is evaluated
    FilterPattern string
    You can use this parameter to limit the anomaly detection model to examine only log events that match the pattern you specify here. For more information, see Filter and Pattern Syntax .
    KmsKeyId string
    The Amazon Resource Name (ARN) of the CMK to use when encrypting log data.
    LastModifiedTimeStamp double
    When detector was lsat modified.
    LogGroupArnList List<string>
    List of Arns for the given log group
    AnomalyDetectorArn string
    ARN of LogAnomalyDetector
    AnomalyDetectorStatus string
    Current status of detector.
    AnomalyVisibilityTime float64
    The number of days to have visibility on an anomaly. After this time period has elapsed for an anomaly, it will be automatically baselined and the anomaly detector will treat new occurrences of a similar anomaly as normal. Therefore, if you do not correct the cause of an anomaly during the time period specified in AnomalyVisibilityTime , it will be considered normal going forward and will not be detected as an anomaly.
    CreationTimeStamp float64
    When detector was created.
    DetectorName string
    Name of detector
    EvaluationFrequency LogAnomalyDetectorEvaluationFrequency
    How often log group is evaluated
    FilterPattern string
    You can use this parameter to limit the anomaly detection model to examine only log events that match the pattern you specify here. For more information, see Filter and Pattern Syntax .
    KmsKeyId string
    The Amazon Resource Name (ARN) of the CMK to use when encrypting log data.
    LastModifiedTimeStamp float64
    When detector was lsat modified.
    LogGroupArnList []string
    List of Arns for the given log group
    anomalyDetectorArn String
    ARN of LogAnomalyDetector
    anomalyDetectorStatus String
    Current status of detector.
    anomalyVisibilityTime Double
    The number of days to have visibility on an anomaly. After this time period has elapsed for an anomaly, it will be automatically baselined and the anomaly detector will treat new occurrences of a similar anomaly as normal. Therefore, if you do not correct the cause of an anomaly during the time period specified in AnomalyVisibilityTime , it will be considered normal going forward and will not be detected as an anomaly.
    creationTimeStamp Double
    When detector was created.
    detectorName String
    Name of detector
    evaluationFrequency LogAnomalyDetectorEvaluationFrequency
    How often log group is evaluated
    filterPattern String
    You can use this parameter to limit the anomaly detection model to examine only log events that match the pattern you specify here. For more information, see Filter and Pattern Syntax .
    kmsKeyId String
    The Amazon Resource Name (ARN) of the CMK to use when encrypting log data.
    lastModifiedTimeStamp Double
    When detector was lsat modified.
    logGroupArnList List<String>
    List of Arns for the given log group
    anomalyDetectorArn string
    ARN of LogAnomalyDetector
    anomalyDetectorStatus string
    Current status of detector.
    anomalyVisibilityTime number
    The number of days to have visibility on an anomaly. After this time period has elapsed for an anomaly, it will be automatically baselined and the anomaly detector will treat new occurrences of a similar anomaly as normal. Therefore, if you do not correct the cause of an anomaly during the time period specified in AnomalyVisibilityTime , it will be considered normal going forward and will not be detected as an anomaly.
    creationTimeStamp number
    When detector was created.
    detectorName string
    Name of detector
    evaluationFrequency LogAnomalyDetectorEvaluationFrequency
    How often log group is evaluated
    filterPattern string
    You can use this parameter to limit the anomaly detection model to examine only log events that match the pattern you specify here. For more information, see Filter and Pattern Syntax .
    kmsKeyId string
    The Amazon Resource Name (ARN) of the CMK to use when encrypting log data.
    lastModifiedTimeStamp number
    When detector was lsat modified.
    logGroupArnList string[]
    List of Arns for the given log group
    anomaly_detector_arn str
    ARN of LogAnomalyDetector
    anomaly_detector_status str
    Current status of detector.
    anomaly_visibility_time float
    The number of days to have visibility on an anomaly. After this time period has elapsed for an anomaly, it will be automatically baselined and the anomaly detector will treat new occurrences of a similar anomaly as normal. Therefore, if you do not correct the cause of an anomaly during the time period specified in AnomalyVisibilityTime , it will be considered normal going forward and will not be detected as an anomaly.
    creation_time_stamp float
    When detector was created.
    detector_name str
    Name of detector
    evaluation_frequency LogAnomalyDetectorEvaluationFrequency
    How often log group is evaluated
    filter_pattern str
    You can use this parameter to limit the anomaly detection model to examine only log events that match the pattern you specify here. For more information, see Filter and Pattern Syntax .
    kms_key_id str
    The Amazon Resource Name (ARN) of the CMK to use when encrypting log data.
    last_modified_time_stamp float
    When detector was lsat modified.
    log_group_arn_list Sequence[str]
    List of Arns for the given log group
    anomalyDetectorArn String
    ARN of LogAnomalyDetector
    anomalyDetectorStatus String
    Current status of detector.
    anomalyVisibilityTime Number
    The number of days to have visibility on an anomaly. After this time period has elapsed for an anomaly, it will be automatically baselined and the anomaly detector will treat new occurrences of a similar anomaly as normal. Therefore, if you do not correct the cause of an anomaly during the time period specified in AnomalyVisibilityTime , it will be considered normal going forward and will not be detected as an anomaly.
    creationTimeStamp Number
    When detector was created.
    detectorName String
    Name of detector
    evaluationFrequency "FIVE_MIN" | "TEN_MIN" | "FIFTEEN_MIN" | "THIRTY_MIN" | "ONE_HOUR"
    How often log group is evaluated
    filterPattern String
    You can use this parameter to limit the anomaly detection model to examine only log events that match the pattern you specify here. For more information, see Filter and Pattern Syntax .
    kmsKeyId String
    The Amazon Resource Name (ARN) of the CMK to use when encrypting log data.
    lastModifiedTimeStamp Number
    When detector was lsat modified.
    logGroupArnList List<String>
    List of Arns for the given log group

    Supporting Types

    LogAnomalyDetectorEvaluationFrequency

    Package Details

    Repository
    AWS Native pulumi/pulumi-aws-native
    License
    Apache-2.0
    aws-native logo

    AWS Native is in preview. AWS Classic is fully supported.

    AWS Native v0.109.0 published on Wednesday, Jun 26, 2024 by Pulumi