Class LogMetricFilterState


  • public final class LogMetricFilterState
    extends com.pulumi.resources.ResourceArgs
    • Method Detail

      • applyOnTransformedLogs

        public java.util.Optional<com.pulumi.core.Output<java.lang.Boolean>> applyOnTransformedLogs()
        Returns:
        Whether the metric filter will be applied on the transformed version of the log events instead of the original ingested log events. Defaults to `false`. Valid only for log groups that have an active log transformer.
      • logGroupName

        public java.util.Optional<com.pulumi.core.Output<java.lang.String>> logGroupName()
        Returns:
        The name of the log group to associate the metric filter with.
      • metricTransformation

        public java.util.Optional<com.pulumi.core.Output<LogMetricFilterMetricTransformationArgs>> metricTransformation()
        Returns:
        A block defining collection of information needed to define how metric data gets emitted. See below.
      • name

        public java.util.Optional<com.pulumi.core.Output<java.lang.String>> name()
        Returns:
        A name for the metric filter.
      • pattern

        public java.util.Optional<com.pulumi.core.Output<java.lang.String>> pattern()
        Returns:
        A valid [CloudWatch Logs filter pattern](https://docs.aws.amazon.com/AmazonCloudWatch/latest/DeveloperGuide/FilterAndPatternSyntax.html) for extracting metric data out of ingested log events.
      • region

        public java.util.Optional<com.pulumi.core.Output<java.lang.String>> region()
        Returns:
        Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration.