azure-native.awsconnector.LogsMetricFilter
Explore with Pulumi AI
A Microsoft.AwsConnector resource Azure REST API version: 2024-12-01.
Example Usage
LogsMetricFilters_CreateOrReplace
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;
return await Deployment.RunAsync(() =>
{
var logsMetricFilter = new AzureNative.AwsConnector.LogsMetricFilter("logsMetricFilter", new()
{
Location = "hvjoetfjcwqioibnqqj",
Name = "Replace this value with a string matching RegExp ^(z=.{0,259}[^zs.]$)(z!.*[zzzzzzzz])",
Properties = new AzureNative.AwsConnector.Inputs.LogsMetricFilterPropertiesArgs
{
Arn = "cjjfhzeoyddkfmdmwsl",
AwsAccountId = "z",
AwsProperties = new AzureNative.AwsConnector.Inputs.AwsLogsMetricFilterPropertiesArgs
{
FilterName = "xexgsguaaqmkiteqgc",
FilterPattern = "xkejasx",
LogGroupName = "cugxyp",
MetricTransformations = new[]
{
new AzureNative.AwsConnector.Inputs.MetricTransformationArgs
{
DefaultValue = 7,
Dimensions = new[]
{
new AzureNative.AwsConnector.Inputs.DimensionArgs
{
Value = "rosnaljwmrdesiticsc",
},
},
MetricName = "oybfr",
MetricNamespace = "iabzdcxljvduduha",
MetricValue = "rpkrrqxywciyvedsvrlbujqjenrlpr",
Unit = AzureNative.AwsConnector.MetricTransformationUnit.Bits,
},
},
},
AwsRegion = "qjqubwwtlycfy",
AwsSourceSchema = "tekgcey",
AwsTags =
{
{ "key5547", "bdcrhaondaponausevadhudvvfitd" },
},
PublicCloudConnectorsResourceId = "dabxbsdvufxltivnlbpft",
PublicCloudResourceName = "ljjatut",
},
ResourceGroupName = "rglogsMetricFilter",
Tags =
{
{ "key5537", "lpylvddirnglehlucv" },
},
});
});
package main
import (
awsconnector "github.com/pulumi/pulumi-azure-native-sdk/awsconnector/v2"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := awsconnector.NewLogsMetricFilter(ctx, "logsMetricFilter", &awsconnector.LogsMetricFilterArgs{
Location: pulumi.String("hvjoetfjcwqioibnqqj"),
Name: pulumi.String("Replace this value with a string matching RegExp ^(z=.{0,259}[^zs.]$)(z!.*[zzzzzzzz])"),
Properties: &awsconnector.LogsMetricFilterPropertiesArgs{
Arn: pulumi.String("cjjfhzeoyddkfmdmwsl"),
AwsAccountId: pulumi.String("z"),
AwsProperties: &awsconnector.AwsLogsMetricFilterPropertiesArgs{
FilterName: pulumi.String("xexgsguaaqmkiteqgc"),
FilterPattern: pulumi.String("xkejasx"),
LogGroupName: pulumi.String("cugxyp"),
MetricTransformations: awsconnector.MetricTransformationArray{
&awsconnector.MetricTransformationArgs{
DefaultValue: pulumi.Int(7),
Dimensions: awsconnector.DimensionArray{
&awsconnector.DimensionArgs{
Value: pulumi.String("rosnaljwmrdesiticsc"),
},
},
MetricName: pulumi.String("oybfr"),
MetricNamespace: pulumi.String("iabzdcxljvduduha"),
MetricValue: pulumi.String("rpkrrqxywciyvedsvrlbujqjenrlpr"),
Unit: pulumi.String(awsconnector.MetricTransformationUnitBits),
},
},
},
AwsRegion: pulumi.String("qjqubwwtlycfy"),
AwsSourceSchema: pulumi.String("tekgcey"),
AwsTags: pulumi.StringMap{
"key5547": pulumi.String("bdcrhaondaponausevadhudvvfitd"),
},
PublicCloudConnectorsResourceId: pulumi.String("dabxbsdvufxltivnlbpft"),
PublicCloudResourceName: pulumi.String("ljjatut"),
},
ResourceGroupName: pulumi.String("rglogsMetricFilter"),
Tags: pulumi.StringMap{
"key5537": pulumi.String("lpylvddirnglehlucv"),
},
})
if err != nil {
return err
}
return nil
})
}
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.azurenative.awsconnector.LogsMetricFilter;
import com.pulumi.azurenative.awsconnector.LogsMetricFilterArgs;
import com.pulumi.azurenative.awsconnector.inputs.LogsMetricFilterPropertiesArgs;
import com.pulumi.azurenative.awsconnector.inputs.AwsLogsMetricFilterPropertiesArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
var logsMetricFilter = new LogsMetricFilter("logsMetricFilter", LogsMetricFilterArgs.builder()
.location("hvjoetfjcwqioibnqqj")
.name("Replace this value with a string matching RegExp ^(z=.{0,259}[^zs.]$)(z!.*[zzzzzzzz])")
.properties(LogsMetricFilterPropertiesArgs.builder()
.arn("cjjfhzeoyddkfmdmwsl")
.awsAccountId("z")
.awsProperties(AwsLogsMetricFilterPropertiesArgs.builder()
.filterName("xexgsguaaqmkiteqgc")
.filterPattern("xkejasx")
.logGroupName("cugxyp")
.metricTransformations(MetricTransformationArgs.builder()
.defaultValue(7)
.dimensions(DimensionArgs.builder()
.value("rosnaljwmrdesiticsc")
.build())
.metricName("oybfr")
.metricNamespace("iabzdcxljvduduha")
.metricValue("rpkrrqxywciyvedsvrlbujqjenrlpr")
.unit("Bits")
.build())
.build())
.awsRegion("qjqubwwtlycfy")
.awsSourceSchema("tekgcey")
.awsTags(Map.of("key5547", "bdcrhaondaponausevadhudvvfitd"))
.publicCloudConnectorsResourceId("dabxbsdvufxltivnlbpft")
.publicCloudResourceName("ljjatut")
.build())
.resourceGroupName("rglogsMetricFilter")
.tags(Map.of("key5537", "lpylvddirnglehlucv"))
.build());
}
}
import pulumi
import pulumi_azure_native as azure_native
logs_metric_filter = azure_native.awsconnector.LogsMetricFilter("logsMetricFilter",
location="hvjoetfjcwqioibnqqj",
name="Replace this value with a string matching RegExp ^(z=.{0,259}[^zs.]$)(z!.*[zzzzzzzz])",
properties={
"arn": "cjjfhzeoyddkfmdmwsl",
"aws_account_id": "z",
"aws_properties": {
"filter_name": "xexgsguaaqmkiteqgc",
"filter_pattern": "xkejasx",
"log_group_name": "cugxyp",
"metric_transformations": [{
"default_value": 7,
"dimensions": [{
"value": "rosnaljwmrdesiticsc",
}],
"metric_name": "oybfr",
"metric_namespace": "iabzdcxljvduduha",
"metric_value": "rpkrrqxywciyvedsvrlbujqjenrlpr",
"unit": azure_native.awsconnector.MetricTransformationUnit.BITS,
}],
},
"aws_region": "qjqubwwtlycfy",
"aws_source_schema": "tekgcey",
"aws_tags": {
"key5547": "bdcrhaondaponausevadhudvvfitd",
},
"public_cloud_connectors_resource_id": "dabxbsdvufxltivnlbpft",
"public_cloud_resource_name": "ljjatut",
},
resource_group_name="rglogsMetricFilter",
tags={
"key5537": "lpylvddirnglehlucv",
})
import * as pulumi from "@pulumi/pulumi";
import * as azure_native from "@pulumi/azure-native";
const logsMetricFilter = new azure_native.awsconnector.LogsMetricFilter("logsMetricFilter", {
location: "hvjoetfjcwqioibnqqj",
name: "Replace this value with a string matching RegExp ^(z=.{0,259}[^zs.]$)(z!.*[zzzzzzzz])",
properties: {
arn: "cjjfhzeoyddkfmdmwsl",
awsAccountId: "z",
awsProperties: {
filterName: "xexgsguaaqmkiteqgc",
filterPattern: "xkejasx",
logGroupName: "cugxyp",
metricTransformations: [{
defaultValue: 7,
dimensions: [{
value: "rosnaljwmrdesiticsc",
}],
metricName: "oybfr",
metricNamespace: "iabzdcxljvduduha",
metricValue: "rpkrrqxywciyvedsvrlbujqjenrlpr",
unit: azure_native.awsconnector.MetricTransformationUnit.Bits,
}],
},
awsRegion: "qjqubwwtlycfy",
awsSourceSchema: "tekgcey",
awsTags: {
key5547: "bdcrhaondaponausevadhudvvfitd",
},
publicCloudConnectorsResourceId: "dabxbsdvufxltivnlbpft",
publicCloudResourceName: "ljjatut",
},
resourceGroupName: "rglogsMetricFilter",
tags: {
key5537: "lpylvddirnglehlucv",
},
});
resources:
logsMetricFilter:
type: azure-native:awsconnector:LogsMetricFilter
properties:
location: hvjoetfjcwqioibnqqj
name: Replace this value with a string matching RegExp ^(z=.{0,259}[^zs.]$)(z!.*[zzzzzzzz])
properties:
arn: cjjfhzeoyddkfmdmwsl
awsAccountId: z
awsProperties:
filterName: xexgsguaaqmkiteqgc
filterPattern: xkejasx
logGroupName: cugxyp
metricTransformations:
- defaultValue: 7
dimensions:
- value: rosnaljwmrdesiticsc
metricName: oybfr
metricNamespace: iabzdcxljvduduha
metricValue: rpkrrqxywciyvedsvrlbujqjenrlpr
unit: Bits
awsRegion: qjqubwwtlycfy
awsSourceSchema: tekgcey
awsTags:
key5547: bdcrhaondaponausevadhudvvfitd
publicCloudConnectorsResourceId: dabxbsdvufxltivnlbpft
publicCloudResourceName: ljjatut
resourceGroupName: rglogsMetricFilter
tags:
key5537: lpylvddirnglehlucv
Create LogsMetricFilter Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new LogsMetricFilter(name: string, args: LogsMetricFilterArgs, opts?: CustomResourceOptions);
@overload
def LogsMetricFilter(resource_name: str,
args: LogsMetricFilterArgs,
opts: Optional[ResourceOptions] = None)
@overload
def LogsMetricFilter(resource_name: str,
opts: Optional[ResourceOptions] = None,
resource_group_name: Optional[str] = None,
location: Optional[str] = None,
name: Optional[str] = None,
properties: Optional[LogsMetricFilterPropertiesArgs] = None,
tags: Optional[Mapping[str, str]] = None)
func NewLogsMetricFilter(ctx *Context, name string, args LogsMetricFilterArgs, opts ...ResourceOption) (*LogsMetricFilter, error)
public LogsMetricFilter(string name, LogsMetricFilterArgs args, CustomResourceOptions? opts = null)
public LogsMetricFilter(String name, LogsMetricFilterArgs args)
public LogsMetricFilter(String name, LogsMetricFilterArgs args, CustomResourceOptions options)
type: azure-native:awsconnector:LogsMetricFilter
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args LogsMetricFilterArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args LogsMetricFilterArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args LogsMetricFilterArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args LogsMetricFilterArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args LogsMetricFilterArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Constructor example
The following reference example uses placeholder values for all input properties.
var logsMetricFilterResource = new AzureNative.AwsConnector.LogsMetricFilter("logsMetricFilterResource", new()
{
ResourceGroupName = "string",
Location = "string",
Name = "string",
Properties = new AzureNative.AwsConnector.Inputs.LogsMetricFilterPropertiesArgs
{
Arn = "string",
AwsAccountId = "string",
AwsProperties = new AzureNative.AwsConnector.Inputs.AwsLogsMetricFilterPropertiesArgs
{
FilterName = "string",
FilterPattern = "string",
LogGroupName = "string",
MetricTransformations = new[]
{
new AzureNative.AwsConnector.Inputs.MetricTransformationArgs
{
DefaultValue = 0,
Dimensions = new[]
{
new AzureNative.AwsConnector.Inputs.DimensionArgs
{
Key = "string",
Name = "string",
Value = "string",
},
},
MetricName = "string",
MetricNamespace = "string",
MetricValue = "string",
Unit = "string",
},
},
},
AwsRegion = "string",
AwsSourceSchema = "string",
AwsTags =
{
{ "string", "string" },
},
PublicCloudConnectorsResourceId = "string",
PublicCloudResourceName = "string",
},
Tags =
{
{ "string", "string" },
},
});
example, err := awsconnector.NewLogsMetricFilter(ctx, "logsMetricFilterResource", &awsconnector.LogsMetricFilterArgs{
ResourceGroupName: pulumi.String("string"),
Location: pulumi.String("string"),
Name: pulumi.String("string"),
Properties: &awsconnector.LogsMetricFilterPropertiesArgs{
Arn: pulumi.String("string"),
AwsAccountId: pulumi.String("string"),
AwsProperties: &awsconnector.AwsLogsMetricFilterPropertiesArgs{
FilterName: pulumi.String("string"),
FilterPattern: pulumi.String("string"),
LogGroupName: pulumi.String("string"),
MetricTransformations: awsconnector.MetricTransformationArray{
&awsconnector.MetricTransformationArgs{
DefaultValue: pulumi.Int(0),
Dimensions: awsconnector.DimensionArray{
&awsconnector.DimensionArgs{
Key: pulumi.String("string"),
Name: pulumi.String("string"),
Value: pulumi.String("string"),
},
},
MetricName: pulumi.String("string"),
MetricNamespace: pulumi.String("string"),
MetricValue: pulumi.String("string"),
Unit: pulumi.String("string"),
},
},
},
AwsRegion: pulumi.String("string"),
AwsSourceSchema: pulumi.String("string"),
AwsTags: pulumi.StringMap{
"string": pulumi.String("string"),
},
PublicCloudConnectorsResourceId: pulumi.String("string"),
PublicCloudResourceName: pulumi.String("string"),
},
Tags: pulumi.StringMap{
"string": pulumi.String("string"),
},
})
var logsMetricFilterResource = new LogsMetricFilter("logsMetricFilterResource", LogsMetricFilterArgs.builder()
.resourceGroupName("string")
.location("string")
.name("string")
.properties(LogsMetricFilterPropertiesArgs.builder()
.arn("string")
.awsAccountId("string")
.awsProperties(AwsLogsMetricFilterPropertiesArgs.builder()
.filterName("string")
.filterPattern("string")
.logGroupName("string")
.metricTransformations(MetricTransformationArgs.builder()
.defaultValue(0)
.dimensions(DimensionArgs.builder()
.key("string")
.name("string")
.value("string")
.build())
.metricName("string")
.metricNamespace("string")
.metricValue("string")
.unit("string")
.build())
.build())
.awsRegion("string")
.awsSourceSchema("string")
.awsTags(Map.of("string", "string"))
.publicCloudConnectorsResourceId("string")
.publicCloudResourceName("string")
.build())
.tags(Map.of("string", "string"))
.build());
logs_metric_filter_resource = azure_native.awsconnector.LogsMetricFilter("logsMetricFilterResource",
resource_group_name="string",
location="string",
name="string",
properties={
"arn": "string",
"aws_account_id": "string",
"aws_properties": {
"filter_name": "string",
"filter_pattern": "string",
"log_group_name": "string",
"metric_transformations": [{
"default_value": 0,
"dimensions": [{
"key": "string",
"name": "string",
"value": "string",
}],
"metric_name": "string",
"metric_namespace": "string",
"metric_value": "string",
"unit": "string",
}],
},
"aws_region": "string",
"aws_source_schema": "string",
"aws_tags": {
"string": "string",
},
"public_cloud_connectors_resource_id": "string",
"public_cloud_resource_name": "string",
},
tags={
"string": "string",
})
const logsMetricFilterResource = new azure_native.awsconnector.LogsMetricFilter("logsMetricFilterResource", {
resourceGroupName: "string",
location: "string",
name: "string",
properties: {
arn: "string",
awsAccountId: "string",
awsProperties: {
filterName: "string",
filterPattern: "string",
logGroupName: "string",
metricTransformations: [{
defaultValue: 0,
dimensions: [{
key: "string",
name: "string",
value: "string",
}],
metricName: "string",
metricNamespace: "string",
metricValue: "string",
unit: "string",
}],
},
awsRegion: "string",
awsSourceSchema: "string",
awsTags: {
string: "string",
},
publicCloudConnectorsResourceId: "string",
publicCloudResourceName: "string",
},
tags: {
string: "string",
},
});
type: azure-native:awsconnector:LogsMetricFilter
properties:
location: string
name: string
properties:
arn: string
awsAccountId: string
awsProperties:
filterName: string
filterPattern: string
logGroupName: string
metricTransformations:
- defaultValue: 0
dimensions:
- key: string
name: string
value: string
metricName: string
metricNamespace: string
metricValue: string
unit: string
awsRegion: string
awsSourceSchema: string
awsTags:
string: string
publicCloudConnectorsResourceId: string
publicCloudResourceName: string
resourceGroupName: string
tags:
string: string
LogsMetricFilter Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The LogsMetricFilter resource accepts the following input properties:
- Resource
Group stringName - The name of the resource group. The name is case insensitive.
- Location string
- The geo-location where the resource lives
- Name string
- Name of LogsMetricFilter
- Properties
Pulumi.
Azure Native. Aws Connector. Inputs. Logs Metric Filter Properties - The resource-specific properties for this resource.
- Dictionary<string, string>
- Resource tags.
- Resource
Group stringName - The name of the resource group. The name is case insensitive.
- Location string
- The geo-location where the resource lives
- Name string
- Name of LogsMetricFilter
- Properties
Logs
Metric Filter Properties Args - The resource-specific properties for this resource.
- map[string]string
- Resource tags.
- resource
Group StringName - The name of the resource group. The name is case insensitive.
- location String
- The geo-location where the resource lives
- name String
- Name of LogsMetricFilter
- properties
Logs
Metric Filter Properties - The resource-specific properties for this resource.
- Map<String,String>
- Resource tags.
- resource
Group stringName - The name of the resource group. The name is case insensitive.
- location string
- The geo-location where the resource lives
- name string
- Name of LogsMetricFilter
- properties
Logs
Metric Filter Properties - The resource-specific properties for this resource.
- {[key: string]: string}
- Resource tags.
- resource_
group_ strname - The name of the resource group. The name is case insensitive.
- location str
- The geo-location where the resource lives
- name str
- Name of LogsMetricFilter
- properties
Logs
Metric Filter Properties Args - The resource-specific properties for this resource.
- Mapping[str, str]
- Resource tags.
- resource
Group StringName - The name of the resource group. The name is case insensitive.
- location String
- The geo-location where the resource lives
- name String
- Name of LogsMetricFilter
- properties Property Map
- The resource-specific properties for this resource.
- Map<String>
- Resource tags.
Outputs
All input properties are implicitly available as output properties. Additionally, the LogsMetricFilter resource produces the following output properties:
- Id string
- The provider-assigned unique ID for this managed resource.
- System
Data Pulumi.Azure Native. Aws Connector. Outputs. System Data Response - Azure Resource Manager metadata containing createdBy and modifiedBy information.
- Type string
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- Id string
- The provider-assigned unique ID for this managed resource.
- System
Data SystemData Response - Azure Resource Manager metadata containing createdBy and modifiedBy information.
- Type string
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- id String
- The provider-assigned unique ID for this managed resource.
- system
Data SystemData Response - Azure Resource Manager metadata containing createdBy and modifiedBy information.
- type String
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- id string
- The provider-assigned unique ID for this managed resource.
- system
Data SystemData Response - Azure Resource Manager metadata containing createdBy and modifiedBy information.
- type string
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- id str
- The provider-assigned unique ID for this managed resource.
- system_
data SystemData Response - Azure Resource Manager metadata containing createdBy and modifiedBy information.
- type str
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- id String
- The provider-assigned unique ID for this managed resource.
- system
Data Property Map - Azure Resource Manager metadata containing createdBy and modifiedBy information.
- type String
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
Supporting Types
AwsLogsMetricFilterProperties, AwsLogsMetricFilterPropertiesArgs
- Filter
Name string - The name of the metric filter.
- Filter
Pattern string - A filter pattern for extracting metric data out of ingested log events. For more information, see Filter and Pattern Syntax.
- Log
Group stringName - The name of an existing log group that you want to associate with this metric filter.
- Metric
Transformations List<Pulumi.Azure Native. Aws Connector. Inputs. Metric Transformation> - The metric transformations.
- Filter
Name string - The name of the metric filter.
- Filter
Pattern string - A filter pattern for extracting metric data out of ingested log events. For more information, see Filter and Pattern Syntax.
- Log
Group stringName - The name of an existing log group that you want to associate with this metric filter.
- Metric
Transformations []MetricTransformation - The metric transformations.
- filter
Name String - The name of the metric filter.
- filter
Pattern String - A filter pattern for extracting metric data out of ingested log events. For more information, see Filter and Pattern Syntax.
- log
Group StringName - The name of an existing log group that you want to associate with this metric filter.
- metric
Transformations List<MetricTransformation> - The metric transformations.
- filter
Name string - The name of the metric filter.
- filter
Pattern string - A filter pattern for extracting metric data out of ingested log events. For more information, see Filter and Pattern Syntax.
- log
Group stringName - The name of an existing log group that you want to associate with this metric filter.
- metric
Transformations MetricTransformation[] - The metric transformations.
- filter_
name str - The name of the metric filter.
- filter_
pattern str - A filter pattern for extracting metric data out of ingested log events. For more information, see Filter and Pattern Syntax.
- log_
group_ strname - The name of an existing log group that you want to associate with this metric filter.
- metric_
transformations Sequence[MetricTransformation] - The metric transformations.
- filter
Name String - The name of the metric filter.
- filter
Pattern String - A filter pattern for extracting metric data out of ingested log events. For more information, see Filter and Pattern Syntax.
- log
Group StringName - The name of an existing log group that you want to associate with this metric filter.
- metric
Transformations List<Property Map> - The metric transformations.
AwsLogsMetricFilterPropertiesResponse, AwsLogsMetricFilterPropertiesResponseArgs
- Filter
Name string - The name of the metric filter.
- Filter
Pattern string - A filter pattern for extracting metric data out of ingested log events. For more information, see Filter and Pattern Syntax.
- Log
Group stringName - The name of an existing log group that you want to associate with this metric filter.
- Metric
Transformations List<Pulumi.Azure Native. Aws Connector. Inputs. Metric Transformation Response> - The metric transformations.
- Filter
Name string - The name of the metric filter.
- Filter
Pattern string - A filter pattern for extracting metric data out of ingested log events. For more information, see Filter and Pattern Syntax.
- Log
Group stringName - The name of an existing log group that you want to associate with this metric filter.
- Metric
Transformations []MetricTransformation Response - The metric transformations.
- filter
Name String - The name of the metric filter.
- filter
Pattern String - A filter pattern for extracting metric data out of ingested log events. For more information, see Filter and Pattern Syntax.
- log
Group StringName - The name of an existing log group that you want to associate with this metric filter.
- metric
Transformations List<MetricTransformation Response> - The metric transformations.
- filter
Name string - The name of the metric filter.
- filter
Pattern string - A filter pattern for extracting metric data out of ingested log events. For more information, see Filter and Pattern Syntax.
- log
Group stringName - The name of an existing log group that you want to associate with this metric filter.
- metric
Transformations MetricTransformation Response[] - The metric transformations.
- filter_
name str - The name of the metric filter.
- filter_
pattern str - A filter pattern for extracting metric data out of ingested log events. For more information, see Filter and Pattern Syntax.
- log_
group_ strname - The name of an existing log group that you want to associate with this metric filter.
- metric_
transformations Sequence[MetricTransformation Response] - The metric transformations.
- filter
Name String - The name of the metric filter.
- filter
Pattern String - A filter pattern for extracting metric data out of ingested log events. For more information, see Filter and Pattern Syntax.
- log
Group StringName - The name of an existing log group that you want to associate with this metric filter.
- metric
Transformations List<Property Map> - The metric transformations.
Dimension, DimensionArgs
- Key string
- The name for the CW metric dimension that the metric filter creates. Dimension names must contain only ASCII characters, must include at least one non-whitespace character, and cannot start with a colon (:).
- Name string
- The name of the dimension, from 1–255 characters in length. This dimension name must have been included when the metric was published.
- Value string
- Property value
- Key string
- The name for the CW metric dimension that the metric filter creates. Dimension names must contain only ASCII characters, must include at least one non-whitespace character, and cannot start with a colon (:).
- Name string
- The name of the dimension, from 1–255 characters in length. This dimension name must have been included when the metric was published.
- Value string
- Property value
- key String
- The name for the CW metric dimension that the metric filter creates. Dimension names must contain only ASCII characters, must include at least one non-whitespace character, and cannot start with a colon (:).
- name String
- The name of the dimension, from 1–255 characters in length. This dimension name must have been included when the metric was published.
- value String
- Property value
- key string
- The name for the CW metric dimension that the metric filter creates. Dimension names must contain only ASCII characters, must include at least one non-whitespace character, and cannot start with a colon (:).
- name string
- The name of the dimension, from 1–255 characters in length. This dimension name must have been included when the metric was published.
- value string
- Property value
- key str
- The name for the CW metric dimension that the metric filter creates. Dimension names must contain only ASCII characters, must include at least one non-whitespace character, and cannot start with a colon (:).
- name str
- The name of the dimension, from 1–255 characters in length. This dimension name must have been included when the metric was published.
- value str
- Property value
- key String
- The name for the CW metric dimension that the metric filter creates. Dimension names must contain only ASCII characters, must include at least one non-whitespace character, and cannot start with a colon (:).
- name String
- The name of the dimension, from 1–255 characters in length. This dimension name must have been included when the metric was published.
- value String
- Property value
DimensionResponse, DimensionResponseArgs
- Key string
- The name for the CW metric dimension that the metric filter creates. Dimension names must contain only ASCII characters, must include at least one non-whitespace character, and cannot start with a colon (:).
- Name string
- The name of the dimension, from 1–255 characters in length. This dimension name must have been included when the metric was published.
- Value string
- Property value
- Key string
- The name for the CW metric dimension that the metric filter creates. Dimension names must contain only ASCII characters, must include at least one non-whitespace character, and cannot start with a colon (:).
- Name string
- The name of the dimension, from 1–255 characters in length. This dimension name must have been included when the metric was published.
- Value string
- Property value
- key String
- The name for the CW metric dimension that the metric filter creates. Dimension names must contain only ASCII characters, must include at least one non-whitespace character, and cannot start with a colon (:).
- name String
- The name of the dimension, from 1–255 characters in length. This dimension name must have been included when the metric was published.
- value String
- Property value
- key string
- The name for the CW metric dimension that the metric filter creates. Dimension names must contain only ASCII characters, must include at least one non-whitespace character, and cannot start with a colon (:).
- name string
- The name of the dimension, from 1–255 characters in length. This dimension name must have been included when the metric was published.
- value string
- Property value
- key str
- The name for the CW metric dimension that the metric filter creates. Dimension names must contain only ASCII characters, must include at least one non-whitespace character, and cannot start with a colon (:).
- name str
- The name of the dimension, from 1–255 characters in length. This dimension name must have been included when the metric was published.
- value str
- Property value
- key String
- The name for the CW metric dimension that the metric filter creates. Dimension names must contain only ASCII characters, must include at least one non-whitespace character, and cannot start with a colon (:).
- name String
- The name of the dimension, from 1–255 characters in length. This dimension name must have been included when the metric was published.
- value String
- Property value
LogsMetricFilterProperties, LogsMetricFilterPropertiesArgs
- Arn string
- Amazon Resource Name (ARN)
- Aws
Account stringId - AWS Account ID
- Aws
Properties Pulumi.Azure Native. Aws Connector. Inputs. Aws Logs Metric Filter Properties - AWS Properties
- Aws
Region string - AWS Region
- Aws
Source stringSchema - AWS Source Schema
- Dictionary<string, string>
- AWS Tags
- Public
Cloud stringConnectors Resource Id - Public Cloud Connectors Resource ID
- Public
Cloud stringResource Name - Public Cloud Resource Name
- Arn string
- Amazon Resource Name (ARN)
- Aws
Account stringId - AWS Account ID
- Aws
Properties AwsLogs Metric Filter Properties - AWS Properties
- Aws
Region string - AWS Region
- Aws
Source stringSchema - AWS Source Schema
- map[string]string
- AWS Tags
- Public
Cloud stringConnectors Resource Id - Public Cloud Connectors Resource ID
- Public
Cloud stringResource Name - Public Cloud Resource Name
- arn String
- Amazon Resource Name (ARN)
- aws
Account StringId - AWS Account ID
- aws
Properties AwsLogs Metric Filter Properties - AWS Properties
- aws
Region String - AWS Region
- aws
Source StringSchema - AWS Source Schema
- Map<String,String>
- AWS Tags
- public
Cloud StringConnectors Resource Id - Public Cloud Connectors Resource ID
- public
Cloud StringResource Name - Public Cloud Resource Name
- arn string
- Amazon Resource Name (ARN)
- aws
Account stringId - AWS Account ID
- aws
Properties AwsLogs Metric Filter Properties - AWS Properties
- aws
Region string - AWS Region
- aws
Source stringSchema - AWS Source Schema
- {[key: string]: string}
- AWS Tags
- public
Cloud stringConnectors Resource Id - Public Cloud Connectors Resource ID
- public
Cloud stringResource Name - Public Cloud Resource Name
- arn str
- Amazon Resource Name (ARN)
- aws_
account_ strid - AWS Account ID
- aws_
properties AwsLogs Metric Filter Properties - AWS Properties
- aws_
region str - AWS Region
- aws_
source_ strschema - AWS Source Schema
- Mapping[str, str]
- AWS Tags
- public_
cloud_ strconnectors_ resource_ id - Public Cloud Connectors Resource ID
- public_
cloud_ strresource_ name - Public Cloud Resource Name
- arn String
- Amazon Resource Name (ARN)
- aws
Account StringId - AWS Account ID
- aws
Properties Property Map - AWS Properties
- aws
Region String - AWS Region
- aws
Source StringSchema - AWS Source Schema
- Map<String>
- AWS Tags
- public
Cloud StringConnectors Resource Id - Public Cloud Connectors Resource ID
- public
Cloud StringResource Name - Public Cloud Resource Name
LogsMetricFilterPropertiesResponse, LogsMetricFilterPropertiesResponseArgs
- Provisioning
State string - The status of the last operation.
- Arn string
- Amazon Resource Name (ARN)
- Aws
Account stringId - AWS Account ID
- Aws
Properties Pulumi.Azure Native. Aws Connector. Inputs. Aws Logs Metric Filter Properties Response - AWS Properties
- Aws
Region string - AWS Region
- Aws
Source stringSchema - AWS Source Schema
- Dictionary<string, string>
- AWS Tags
- Public
Cloud stringConnectors Resource Id - Public Cloud Connectors Resource ID
- Public
Cloud stringResource Name - Public Cloud Resource Name
- Provisioning
State string - The status of the last operation.
- Arn string
- Amazon Resource Name (ARN)
- Aws
Account stringId - AWS Account ID
- Aws
Properties AwsLogs Metric Filter Properties Response - AWS Properties
- Aws
Region string - AWS Region
- Aws
Source stringSchema - AWS Source Schema
- map[string]string
- AWS Tags
- Public
Cloud stringConnectors Resource Id - Public Cloud Connectors Resource ID
- Public
Cloud stringResource Name - Public Cloud Resource Name
- provisioning
State String - The status of the last operation.
- arn String
- Amazon Resource Name (ARN)
- aws
Account StringId - AWS Account ID
- aws
Properties AwsLogs Metric Filter Properties Response - AWS Properties
- aws
Region String - AWS Region
- aws
Source StringSchema - AWS Source Schema
- Map<String,String>
- AWS Tags
- public
Cloud StringConnectors Resource Id - Public Cloud Connectors Resource ID
- public
Cloud StringResource Name - Public Cloud Resource Name
- provisioning
State string - The status of the last operation.
- arn string
- Amazon Resource Name (ARN)
- aws
Account stringId - AWS Account ID
- aws
Properties AwsLogs Metric Filter Properties Response - AWS Properties
- aws
Region string - AWS Region
- aws
Source stringSchema - AWS Source Schema
- {[key: string]: string}
- AWS Tags
- public
Cloud stringConnectors Resource Id - Public Cloud Connectors Resource ID
- public
Cloud stringResource Name - Public Cloud Resource Name
- provisioning_
state str - The status of the last operation.
- arn str
- Amazon Resource Name (ARN)
- aws_
account_ strid - AWS Account ID
- aws_
properties AwsLogs Metric Filter Properties Response - AWS Properties
- aws_
region str - AWS Region
- aws_
source_ strschema - AWS Source Schema
- Mapping[str, str]
- AWS Tags
- public_
cloud_ strconnectors_ resource_ id - Public Cloud Connectors Resource ID
- public_
cloud_ strresource_ name - Public Cloud Resource Name
- provisioning
State String - The status of the last operation.
- arn String
- Amazon Resource Name (ARN)
- aws
Account StringId - AWS Account ID
- aws
Properties Property Map - AWS Properties
- aws
Region String - AWS Region
- aws
Source StringSchema - AWS Source Schema
- Map<String>
- AWS Tags
- public
Cloud StringConnectors Resource Id - Public Cloud Connectors Resource ID
- public
Cloud StringResource Name - Public Cloud Resource Name
MetricTransformation, MetricTransformationArgs
- Default
Value int - (Optional) The value to emit when a filter pattern does not match a log event. This value can be null.
- Dimensions
List<Pulumi.
Azure Native. Aws Connector. Inputs. Dimension> - The fields to use as dimensions for the metric. One metric filter can include as many as three dimensions. Metrics extracted from log events are charged as custom metrics. To prevent unexpected high charges, do not specify high-cardinality fields such as
IPAddress
orrequestID
as dimensions. Each different value found for a dimension is treated as a separate metric and accrues charges as a separate custom metric. CloudWatch Logs disables a metric filter if it generates 1000 different name/value pairs for your specified dimensions within a certain amount of time. This helps to prevent accidental high charges. You can also set up a billing alarm to alert you if your charges are higher than expected. For more information, see Creating a Billing Alarm to Monitor Your Estimated Charges. - Metric
Name string - The name of the CloudWatch metric.
- Metric
Namespace string - A custom namespace to contain your metric in CloudWatch. Use namespaces to group together metrics that are similar. For more information, see Namespaces.
- Metric
Value string - The value that is published to the CloudWatch metric. For example, if you're counting the occurrences of a particular term like
Error
, specify 1 for the metric value. If you're counting the number of bytes transferred, reference the value that is in the log event by using $. followed by the name of the field that you specified in the filter pattern, such as$.size
. - Unit
string | Pulumi.
Azure Native. Aws Connector. Metric Transformation Unit - The unit to assign to the metric. If you omit this, the unit is set as
None
.
- Default
Value int - (Optional) The value to emit when a filter pattern does not match a log event. This value can be null.
- Dimensions []Dimension
- The fields to use as dimensions for the metric. One metric filter can include as many as three dimensions. Metrics extracted from log events are charged as custom metrics. To prevent unexpected high charges, do not specify high-cardinality fields such as
IPAddress
orrequestID
as dimensions. Each different value found for a dimension is treated as a separate metric and accrues charges as a separate custom metric. CloudWatch Logs disables a metric filter if it generates 1000 different name/value pairs for your specified dimensions within a certain amount of time. This helps to prevent accidental high charges. You can also set up a billing alarm to alert you if your charges are higher than expected. For more information, see Creating a Billing Alarm to Monitor Your Estimated Charges. - Metric
Name string - The name of the CloudWatch metric.
- Metric
Namespace string - A custom namespace to contain your metric in CloudWatch. Use namespaces to group together metrics that are similar. For more information, see Namespaces.
- Metric
Value string - The value that is published to the CloudWatch metric. For example, if you're counting the occurrences of a particular term like
Error
, specify 1 for the metric value. If you're counting the number of bytes transferred, reference the value that is in the log event by using $. followed by the name of the field that you specified in the filter pattern, such as$.size
. - Unit
string | Metric
Transformation Unit - The unit to assign to the metric. If you omit this, the unit is set as
None
.
- default
Value Integer - (Optional) The value to emit when a filter pattern does not match a log event. This value can be null.
- dimensions List<Dimension>
- The fields to use as dimensions for the metric. One metric filter can include as many as three dimensions. Metrics extracted from log events are charged as custom metrics. To prevent unexpected high charges, do not specify high-cardinality fields such as
IPAddress
orrequestID
as dimensions. Each different value found for a dimension is treated as a separate metric and accrues charges as a separate custom metric. CloudWatch Logs disables a metric filter if it generates 1000 different name/value pairs for your specified dimensions within a certain amount of time. This helps to prevent accidental high charges. You can also set up a billing alarm to alert you if your charges are higher than expected. For more information, see Creating a Billing Alarm to Monitor Your Estimated Charges. - metric
Name String - The name of the CloudWatch metric.
- metric
Namespace String - A custom namespace to contain your metric in CloudWatch. Use namespaces to group together metrics that are similar. For more information, see Namespaces.
- metric
Value String - The value that is published to the CloudWatch metric. For example, if you're counting the occurrences of a particular term like
Error
, specify 1 for the metric value. If you're counting the number of bytes transferred, reference the value that is in the log event by using $. followed by the name of the field that you specified in the filter pattern, such as$.size
. - unit
String | Metric
Transformation Unit - The unit to assign to the metric. If you omit this, the unit is set as
None
.
- default
Value number - (Optional) The value to emit when a filter pattern does not match a log event. This value can be null.
- dimensions Dimension[]
- The fields to use as dimensions for the metric. One metric filter can include as many as three dimensions. Metrics extracted from log events are charged as custom metrics. To prevent unexpected high charges, do not specify high-cardinality fields such as
IPAddress
orrequestID
as dimensions. Each different value found for a dimension is treated as a separate metric and accrues charges as a separate custom metric. CloudWatch Logs disables a metric filter if it generates 1000 different name/value pairs for your specified dimensions within a certain amount of time. This helps to prevent accidental high charges. You can also set up a billing alarm to alert you if your charges are higher than expected. For more information, see Creating a Billing Alarm to Monitor Your Estimated Charges. - metric
Name string - The name of the CloudWatch metric.
- metric
Namespace string - A custom namespace to contain your metric in CloudWatch. Use namespaces to group together metrics that are similar. For more information, see Namespaces.
- metric
Value string - The value that is published to the CloudWatch metric. For example, if you're counting the occurrences of a particular term like
Error
, specify 1 for the metric value. If you're counting the number of bytes transferred, reference the value that is in the log event by using $. followed by the name of the field that you specified in the filter pattern, such as$.size
. - unit
string | Metric
Transformation Unit - The unit to assign to the metric. If you omit this, the unit is set as
None
.
- default_
value int - (Optional) The value to emit when a filter pattern does not match a log event. This value can be null.
- dimensions Sequence[Dimension]
- The fields to use as dimensions for the metric. One metric filter can include as many as three dimensions. Metrics extracted from log events are charged as custom metrics. To prevent unexpected high charges, do not specify high-cardinality fields such as
IPAddress
orrequestID
as dimensions. Each different value found for a dimension is treated as a separate metric and accrues charges as a separate custom metric. CloudWatch Logs disables a metric filter if it generates 1000 different name/value pairs for your specified dimensions within a certain amount of time. This helps to prevent accidental high charges. You can also set up a billing alarm to alert you if your charges are higher than expected. For more information, see Creating a Billing Alarm to Monitor Your Estimated Charges. - metric_
name str - The name of the CloudWatch metric.
- metric_
namespace str - A custom namespace to contain your metric in CloudWatch. Use namespaces to group together metrics that are similar. For more information, see Namespaces.
- metric_
value str - The value that is published to the CloudWatch metric. For example, if you're counting the occurrences of a particular term like
Error
, specify 1 for the metric value. If you're counting the number of bytes transferred, reference the value that is in the log event by using $. followed by the name of the field that you specified in the filter pattern, such as$.size
. - unit
str | Metric
Transformation Unit - The unit to assign to the metric. If you omit this, the unit is set as
None
.
- default
Value Number - (Optional) The value to emit when a filter pattern does not match a log event. This value can be null.
- dimensions List<Property Map>
- The fields to use as dimensions for the metric. One metric filter can include as many as three dimensions. Metrics extracted from log events are charged as custom metrics. To prevent unexpected high charges, do not specify high-cardinality fields such as
IPAddress
orrequestID
as dimensions. Each different value found for a dimension is treated as a separate metric and accrues charges as a separate custom metric. CloudWatch Logs disables a metric filter if it generates 1000 different name/value pairs for your specified dimensions within a certain amount of time. This helps to prevent accidental high charges. You can also set up a billing alarm to alert you if your charges are higher than expected. For more information, see Creating a Billing Alarm to Monitor Your Estimated Charges. - metric
Name String - The name of the CloudWatch metric.
- metric
Namespace String - A custom namespace to contain your metric in CloudWatch. Use namespaces to group together metrics that are similar. For more information, see Namespaces.
- metric
Value String - The value that is published to the CloudWatch metric. For example, if you're counting the occurrences of a particular term like
Error
, specify 1 for the metric value. If you're counting the number of bytes transferred, reference the value that is in the log event by using $. followed by the name of the field that you specified in the filter pattern, such as$.size
. - unit String | "Bits" | "Bits/Second" | "Bytes" | "Bytes/Second" | "Count" | "Count/Second" | "Gigabits" | "Gigabits/Second" | "Gigabytes" | "Gigabytes/Second" | "Kilobits" | "Kilobits/Second" | "Kilobytes" | "Kilobytes/Second" | "Megabits" | "Megabits/Second" | "Megabytes" | "Megabytes/Second" | "Microseconds" | "Milliseconds" | "None" | "Percent" | "Seconds" | "Terabits" | "Terabits/Second" | "Terabytes" | "Terabytes/Second"
- The unit to assign to the metric. If you omit this, the unit is set as
None
.
MetricTransformationResponse, MetricTransformationResponseArgs
- Default
Value int - (Optional) The value to emit when a filter pattern does not match a log event. This value can be null.
- Dimensions
List<Pulumi.
Azure Native. Aws Connector. Inputs. Dimension Response> - The fields to use as dimensions for the metric. One metric filter can include as many as three dimensions. Metrics extracted from log events are charged as custom metrics. To prevent unexpected high charges, do not specify high-cardinality fields such as
IPAddress
orrequestID
as dimensions. Each different value found for a dimension is treated as a separate metric and accrues charges as a separate custom metric. CloudWatch Logs disables a metric filter if it generates 1000 different name/value pairs for your specified dimensions within a certain amount of time. This helps to prevent accidental high charges. You can also set up a billing alarm to alert you if your charges are higher than expected. For more information, see Creating a Billing Alarm to Monitor Your Estimated Charges. - Metric
Name string - The name of the CloudWatch metric.
- Metric
Namespace string - A custom namespace to contain your metric in CloudWatch. Use namespaces to group together metrics that are similar. For more information, see Namespaces.
- Metric
Value string - The value that is published to the CloudWatch metric. For example, if you're counting the occurrences of a particular term like
Error
, specify 1 for the metric value. If you're counting the number of bytes transferred, reference the value that is in the log event by using $. followed by the name of the field that you specified in the filter pattern, such as$.size
. - Unit string
- The unit to assign to the metric. If you omit this, the unit is set as
None
.
- Default
Value int - (Optional) The value to emit when a filter pattern does not match a log event. This value can be null.
- Dimensions
[]Dimension
Response - The fields to use as dimensions for the metric. One metric filter can include as many as three dimensions. Metrics extracted from log events are charged as custom metrics. To prevent unexpected high charges, do not specify high-cardinality fields such as
IPAddress
orrequestID
as dimensions. Each different value found for a dimension is treated as a separate metric and accrues charges as a separate custom metric. CloudWatch Logs disables a metric filter if it generates 1000 different name/value pairs for your specified dimensions within a certain amount of time. This helps to prevent accidental high charges. You can also set up a billing alarm to alert you if your charges are higher than expected. For more information, see Creating a Billing Alarm to Monitor Your Estimated Charges. - Metric
Name string - The name of the CloudWatch metric.
- Metric
Namespace string - A custom namespace to contain your metric in CloudWatch. Use namespaces to group together metrics that are similar. For more information, see Namespaces.
- Metric
Value string - The value that is published to the CloudWatch metric. For example, if you're counting the occurrences of a particular term like
Error
, specify 1 for the metric value. If you're counting the number of bytes transferred, reference the value that is in the log event by using $. followed by the name of the field that you specified in the filter pattern, such as$.size
. - Unit string
- The unit to assign to the metric. If you omit this, the unit is set as
None
.
- default
Value Integer - (Optional) The value to emit when a filter pattern does not match a log event. This value can be null.
- dimensions
List<Dimension
Response> - The fields to use as dimensions for the metric. One metric filter can include as many as three dimensions. Metrics extracted from log events are charged as custom metrics. To prevent unexpected high charges, do not specify high-cardinality fields such as
IPAddress
orrequestID
as dimensions. Each different value found for a dimension is treated as a separate metric and accrues charges as a separate custom metric. CloudWatch Logs disables a metric filter if it generates 1000 different name/value pairs for your specified dimensions within a certain amount of time. This helps to prevent accidental high charges. You can also set up a billing alarm to alert you if your charges are higher than expected. For more information, see Creating a Billing Alarm to Monitor Your Estimated Charges. - metric
Name String - The name of the CloudWatch metric.
- metric
Namespace String - A custom namespace to contain your metric in CloudWatch. Use namespaces to group together metrics that are similar. For more information, see Namespaces.
- metric
Value String - The value that is published to the CloudWatch metric. For example, if you're counting the occurrences of a particular term like
Error
, specify 1 for the metric value. If you're counting the number of bytes transferred, reference the value that is in the log event by using $. followed by the name of the field that you specified in the filter pattern, such as$.size
. - unit String
- The unit to assign to the metric. If you omit this, the unit is set as
None
.
- default
Value number - (Optional) The value to emit when a filter pattern does not match a log event. This value can be null.
- dimensions
Dimension
Response[] - The fields to use as dimensions for the metric. One metric filter can include as many as three dimensions. Metrics extracted from log events are charged as custom metrics. To prevent unexpected high charges, do not specify high-cardinality fields such as
IPAddress
orrequestID
as dimensions. Each different value found for a dimension is treated as a separate metric and accrues charges as a separate custom metric. CloudWatch Logs disables a metric filter if it generates 1000 different name/value pairs for your specified dimensions within a certain amount of time. This helps to prevent accidental high charges. You can also set up a billing alarm to alert you if your charges are higher than expected. For more information, see Creating a Billing Alarm to Monitor Your Estimated Charges. - metric
Name string - The name of the CloudWatch metric.
- metric
Namespace string - A custom namespace to contain your metric in CloudWatch. Use namespaces to group together metrics that are similar. For more information, see Namespaces.
- metric
Value string - The value that is published to the CloudWatch metric. For example, if you're counting the occurrences of a particular term like
Error
, specify 1 for the metric value. If you're counting the number of bytes transferred, reference the value that is in the log event by using $. followed by the name of the field that you specified in the filter pattern, such as$.size
. - unit string
- The unit to assign to the metric. If you omit this, the unit is set as
None
.
- default_
value int - (Optional) The value to emit when a filter pattern does not match a log event. This value can be null.
- dimensions
Sequence[Dimension
Response] - The fields to use as dimensions for the metric. One metric filter can include as many as three dimensions. Metrics extracted from log events are charged as custom metrics. To prevent unexpected high charges, do not specify high-cardinality fields such as
IPAddress
orrequestID
as dimensions. Each different value found for a dimension is treated as a separate metric and accrues charges as a separate custom metric. CloudWatch Logs disables a metric filter if it generates 1000 different name/value pairs for your specified dimensions within a certain amount of time. This helps to prevent accidental high charges. You can also set up a billing alarm to alert you if your charges are higher than expected. For more information, see Creating a Billing Alarm to Monitor Your Estimated Charges. - metric_
name str - The name of the CloudWatch metric.
- metric_
namespace str - A custom namespace to contain your metric in CloudWatch. Use namespaces to group together metrics that are similar. For more information, see Namespaces.
- metric_
value str - The value that is published to the CloudWatch metric. For example, if you're counting the occurrences of a particular term like
Error
, specify 1 for the metric value. If you're counting the number of bytes transferred, reference the value that is in the log event by using $. followed by the name of the field that you specified in the filter pattern, such as$.size
. - unit str
- The unit to assign to the metric. If you omit this, the unit is set as
None
.
- default
Value Number - (Optional) The value to emit when a filter pattern does not match a log event. This value can be null.
- dimensions List<Property Map>
- The fields to use as dimensions for the metric. One metric filter can include as many as three dimensions. Metrics extracted from log events are charged as custom metrics. To prevent unexpected high charges, do not specify high-cardinality fields such as
IPAddress
orrequestID
as dimensions. Each different value found for a dimension is treated as a separate metric and accrues charges as a separate custom metric. CloudWatch Logs disables a metric filter if it generates 1000 different name/value pairs for your specified dimensions within a certain amount of time. This helps to prevent accidental high charges. You can also set up a billing alarm to alert you if your charges are higher than expected. For more information, see Creating a Billing Alarm to Monitor Your Estimated Charges. - metric
Name String - The name of the CloudWatch metric.
- metric
Namespace String - A custom namespace to contain your metric in CloudWatch. Use namespaces to group together metrics that are similar. For more information, see Namespaces.
- metric
Value String - The value that is published to the CloudWatch metric. For example, if you're counting the occurrences of a particular term like
Error
, specify 1 for the metric value. If you're counting the number of bytes transferred, reference the value that is in the log event by using $. followed by the name of the field that you specified in the filter pattern, such as$.size
. - unit String
- The unit to assign to the metric. If you omit this, the unit is set as
None
.
MetricTransformationUnit, MetricTransformationUnitArgs
- Bits
- BitsMetricTransformationUnit enum Bits
- Bits
Second - Bits/SecondMetricTransformationUnit enum Bits/Second
- Bytes
- BytesMetricTransformationUnit enum Bytes
- Bytes
Second - Bytes/SecondMetricTransformationUnit enum Bytes/Second
- Count
- CountMetricTransformationUnit enum Count
- Count
Second - Count/SecondMetricTransformationUnit enum Count/Second
- Gigabits
- GigabitsMetricTransformationUnit enum Gigabits
- Gigabits
Second - Gigabits/SecondMetricTransformationUnit enum Gigabits/Second
- Gigabytes
- GigabytesMetricTransformationUnit enum Gigabytes
- Gigabytes
Second - Gigabytes/SecondMetricTransformationUnit enum Gigabytes/Second
- Kilobits
- KilobitsMetricTransformationUnit enum Kilobits
- Kilobits
Second - Kilobits/SecondMetricTransformationUnit enum Kilobits/Second
- Kilobytes
- KilobytesMetricTransformationUnit enum Kilobytes
- Kilobytes
Second - Kilobytes/SecondMetricTransformationUnit enum Kilobytes/Second
- Megabits
- MegabitsMetricTransformationUnit enum Megabits
- Megabits
Second - Megabits/SecondMetricTransformationUnit enum Megabits/Second
- Megabytes
- MegabytesMetricTransformationUnit enum Megabytes
- Megabytes
Second - Megabytes/SecondMetricTransformationUnit enum Megabytes/Second
- Microseconds
- MicrosecondsMetricTransformationUnit enum Microseconds
- Milliseconds
- MillisecondsMetricTransformationUnit enum Milliseconds
- None
- NoneMetricTransformationUnit enum None
- Percent
- PercentMetricTransformationUnit enum Percent
- Seconds
- SecondsMetricTransformationUnit enum Seconds
- Terabits
- TerabitsMetricTransformationUnit enum Terabits
- Terabits
Second - Terabits/SecondMetricTransformationUnit enum Terabits/Second
- Terabytes
- TerabytesMetricTransformationUnit enum Terabytes
- Terabytes
Second - Terabytes/SecondMetricTransformationUnit enum Terabytes/Second
- Metric
Transformation Unit Bits - BitsMetricTransformationUnit enum Bits
- Metric
Transformation Unit Bits Second - Bits/SecondMetricTransformationUnit enum Bits/Second
- Metric
Transformation Unit Bytes - BytesMetricTransformationUnit enum Bytes
- Metric
Transformation Unit Bytes Second - Bytes/SecondMetricTransformationUnit enum Bytes/Second
- Metric
Transformation Unit Count - CountMetricTransformationUnit enum Count
- Metric
Transformation Unit Count Second - Count/SecondMetricTransformationUnit enum Count/Second
- Metric
Transformation Unit Gigabits - GigabitsMetricTransformationUnit enum Gigabits
- Metric
Transformation Unit Gigabits Second - Gigabits/SecondMetricTransformationUnit enum Gigabits/Second
- Metric
Transformation Unit Gigabytes - GigabytesMetricTransformationUnit enum Gigabytes
- Metric
Transformation Unit Gigabytes Second - Gigabytes/SecondMetricTransformationUnit enum Gigabytes/Second
- Metric
Transformation Unit Kilobits - KilobitsMetricTransformationUnit enum Kilobits
- Metric
Transformation Unit Kilobits Second - Kilobits/SecondMetricTransformationUnit enum Kilobits/Second
- Metric
Transformation Unit Kilobytes - KilobytesMetricTransformationUnit enum Kilobytes
- Metric
Transformation Unit Kilobytes Second - Kilobytes/SecondMetricTransformationUnit enum Kilobytes/Second
- Metric
Transformation Unit Megabits - MegabitsMetricTransformationUnit enum Megabits
- Metric
Transformation Unit Megabits Second - Megabits/SecondMetricTransformationUnit enum Megabits/Second
- Metric
Transformation Unit Megabytes - MegabytesMetricTransformationUnit enum Megabytes
- Metric
Transformation Unit Megabytes Second - Megabytes/SecondMetricTransformationUnit enum Megabytes/Second
- Metric
Transformation Unit Microseconds - MicrosecondsMetricTransformationUnit enum Microseconds
- Metric
Transformation Unit Milliseconds - MillisecondsMetricTransformationUnit enum Milliseconds
- Metric
Transformation Unit None - NoneMetricTransformationUnit enum None
- Metric
Transformation Unit Percent - PercentMetricTransformationUnit enum Percent
- Metric
Transformation Unit Seconds - SecondsMetricTransformationUnit enum Seconds
- Metric
Transformation Unit Terabits - TerabitsMetricTransformationUnit enum Terabits
- Metric
Transformation Unit Terabits Second - Terabits/SecondMetricTransformationUnit enum Terabits/Second
- Metric
Transformation Unit Terabytes - TerabytesMetricTransformationUnit enum Terabytes
- Metric
Transformation Unit Terabytes Second - Terabytes/SecondMetricTransformationUnit enum Terabytes/Second
- Bits
- BitsMetricTransformationUnit enum Bits
- Bits
Second - Bits/SecondMetricTransformationUnit enum Bits/Second
- Bytes
- BytesMetricTransformationUnit enum Bytes
- Bytes
Second - Bytes/SecondMetricTransformationUnit enum Bytes/Second
- Count
- CountMetricTransformationUnit enum Count
- Count
Second - Count/SecondMetricTransformationUnit enum Count/Second
- Gigabits
- GigabitsMetricTransformationUnit enum Gigabits
- Gigabits
Second - Gigabits/SecondMetricTransformationUnit enum Gigabits/Second
- Gigabytes
- GigabytesMetricTransformationUnit enum Gigabytes
- Gigabytes
Second - Gigabytes/SecondMetricTransformationUnit enum Gigabytes/Second
- Kilobits
- KilobitsMetricTransformationUnit enum Kilobits
- Kilobits
Second - Kilobits/SecondMetricTransformationUnit enum Kilobits/Second
- Kilobytes
- KilobytesMetricTransformationUnit enum Kilobytes
- Kilobytes
Second - Kilobytes/SecondMetricTransformationUnit enum Kilobytes/Second
- Megabits
- MegabitsMetricTransformationUnit enum Megabits
- Megabits
Second - Megabits/SecondMetricTransformationUnit enum Megabits/Second
- Megabytes
- MegabytesMetricTransformationUnit enum Megabytes
- Megabytes
Second - Megabytes/SecondMetricTransformationUnit enum Megabytes/Second
- Microseconds
- MicrosecondsMetricTransformationUnit enum Microseconds
- Milliseconds
- MillisecondsMetricTransformationUnit enum Milliseconds
- None
- NoneMetricTransformationUnit enum None
- Percent
- PercentMetricTransformationUnit enum Percent
- Seconds
- SecondsMetricTransformationUnit enum Seconds
- Terabits
- TerabitsMetricTransformationUnit enum Terabits
- Terabits
Second - Terabits/SecondMetricTransformationUnit enum Terabits/Second
- Terabytes
- TerabytesMetricTransformationUnit enum Terabytes
- Terabytes
Second - Terabytes/SecondMetricTransformationUnit enum Terabytes/Second
- Bits
- BitsMetricTransformationUnit enum Bits
- Bits
Second - Bits/SecondMetricTransformationUnit enum Bits/Second
- Bytes
- BytesMetricTransformationUnit enum Bytes
- Bytes
Second - Bytes/SecondMetricTransformationUnit enum Bytes/Second
- Count
- CountMetricTransformationUnit enum Count
- Count
Second - Count/SecondMetricTransformationUnit enum Count/Second
- Gigabits
- GigabitsMetricTransformationUnit enum Gigabits
- Gigabits
Second - Gigabits/SecondMetricTransformationUnit enum Gigabits/Second
- Gigabytes
- GigabytesMetricTransformationUnit enum Gigabytes
- Gigabytes
Second - Gigabytes/SecondMetricTransformationUnit enum Gigabytes/Second
- Kilobits
- KilobitsMetricTransformationUnit enum Kilobits
- Kilobits
Second - Kilobits/SecondMetricTransformationUnit enum Kilobits/Second
- Kilobytes
- KilobytesMetricTransformationUnit enum Kilobytes
- Kilobytes
Second - Kilobytes/SecondMetricTransformationUnit enum Kilobytes/Second
- Megabits
- MegabitsMetricTransformationUnit enum Megabits
- Megabits
Second - Megabits/SecondMetricTransformationUnit enum Megabits/Second
- Megabytes
- MegabytesMetricTransformationUnit enum Megabytes
- Megabytes
Second - Megabytes/SecondMetricTransformationUnit enum Megabytes/Second
- Microseconds
- MicrosecondsMetricTransformationUnit enum Microseconds
- Milliseconds
- MillisecondsMetricTransformationUnit enum Milliseconds
- None
- NoneMetricTransformationUnit enum None
- Percent
- PercentMetricTransformationUnit enum Percent
- Seconds
- SecondsMetricTransformationUnit enum Seconds
- Terabits
- TerabitsMetricTransformationUnit enum Terabits
- Terabits
Second - Terabits/SecondMetricTransformationUnit enum Terabits/Second
- Terabytes
- TerabytesMetricTransformationUnit enum Terabytes
- Terabytes
Second - Terabytes/SecondMetricTransformationUnit enum Terabytes/Second
- BITS
- BitsMetricTransformationUnit enum Bits
- BITS_SECOND
- Bits/SecondMetricTransformationUnit enum Bits/Second
- BYTES
- BytesMetricTransformationUnit enum Bytes
- BYTES_SECOND
- Bytes/SecondMetricTransformationUnit enum Bytes/Second
- COUNT
- CountMetricTransformationUnit enum Count
- COUNT_SECOND
- Count/SecondMetricTransformationUnit enum Count/Second
- GIGABITS
- GigabitsMetricTransformationUnit enum Gigabits
- GIGABITS_SECOND
- Gigabits/SecondMetricTransformationUnit enum Gigabits/Second
- GIGABYTES
- GigabytesMetricTransformationUnit enum Gigabytes
- GIGABYTES_SECOND
- Gigabytes/SecondMetricTransformationUnit enum Gigabytes/Second
- KILOBITS
- KilobitsMetricTransformationUnit enum Kilobits
- KILOBITS_SECOND
- Kilobits/SecondMetricTransformationUnit enum Kilobits/Second
- KILOBYTES
- KilobytesMetricTransformationUnit enum Kilobytes
- KILOBYTES_SECOND
- Kilobytes/SecondMetricTransformationUnit enum Kilobytes/Second
- MEGABITS
- MegabitsMetricTransformationUnit enum Megabits
- MEGABITS_SECOND
- Megabits/SecondMetricTransformationUnit enum Megabits/Second
- MEGABYTES
- MegabytesMetricTransformationUnit enum Megabytes
- MEGABYTES_SECOND
- Megabytes/SecondMetricTransformationUnit enum Megabytes/Second
- MICROSECONDS
- MicrosecondsMetricTransformationUnit enum Microseconds
- MILLISECONDS
- MillisecondsMetricTransformationUnit enum Milliseconds
- NONE
- NoneMetricTransformationUnit enum None
- PERCENT
- PercentMetricTransformationUnit enum Percent
- SECONDS
- SecondsMetricTransformationUnit enum Seconds
- TERABITS
- TerabitsMetricTransformationUnit enum Terabits
- TERABITS_SECOND
- Terabits/SecondMetricTransformationUnit enum Terabits/Second
- TERABYTES
- TerabytesMetricTransformationUnit enum Terabytes
- TERABYTES_SECOND
- Terabytes/SecondMetricTransformationUnit enum Terabytes/Second
- "Bits"
- BitsMetricTransformationUnit enum Bits
- "Bits/Second"
- Bits/SecondMetricTransformationUnit enum Bits/Second
- "Bytes"
- BytesMetricTransformationUnit enum Bytes
- "Bytes/Second"
- Bytes/SecondMetricTransformationUnit enum Bytes/Second
- "Count"
- CountMetricTransformationUnit enum Count
- "Count/Second"
- Count/SecondMetricTransformationUnit enum Count/Second
- "Gigabits"
- GigabitsMetricTransformationUnit enum Gigabits
- "Gigabits/Second"
- Gigabits/SecondMetricTransformationUnit enum Gigabits/Second
- "Gigabytes"
- GigabytesMetricTransformationUnit enum Gigabytes
- "Gigabytes/Second"
- Gigabytes/SecondMetricTransformationUnit enum Gigabytes/Second
- "Kilobits"
- KilobitsMetricTransformationUnit enum Kilobits
- "Kilobits/Second"
- Kilobits/SecondMetricTransformationUnit enum Kilobits/Second
- "Kilobytes"
- KilobytesMetricTransformationUnit enum Kilobytes
- "Kilobytes/Second"
- Kilobytes/SecondMetricTransformationUnit enum Kilobytes/Second
- "Megabits"
- MegabitsMetricTransformationUnit enum Megabits
- "Megabits/Second"
- Megabits/SecondMetricTransformationUnit enum Megabits/Second
- "Megabytes"
- MegabytesMetricTransformationUnit enum Megabytes
- "Megabytes/Second"
- Megabytes/SecondMetricTransformationUnit enum Megabytes/Second
- "Microseconds"
- MicrosecondsMetricTransformationUnit enum Microseconds
- "Milliseconds"
- MillisecondsMetricTransformationUnit enum Milliseconds
- "None"
- NoneMetricTransformationUnit enum None
- "Percent"
- PercentMetricTransformationUnit enum Percent
- "Seconds"
- SecondsMetricTransformationUnit enum Seconds
- "Terabits"
- TerabitsMetricTransformationUnit enum Terabits
- "Terabits/Second"
- Terabits/SecondMetricTransformationUnit enum Terabits/Second
- "Terabytes"
- TerabytesMetricTransformationUnit enum Terabytes
- "Terabytes/Second"
- Terabytes/SecondMetricTransformationUnit enum Terabytes/Second
SystemDataResponse, SystemDataResponseArgs
- Created
At string - The timestamp of resource creation (UTC).
- Created
By string - The identity that created the resource.
- Created
By stringType - The type of identity that created the resource.
- Last
Modified stringAt - The timestamp of resource last modification (UTC)
- Last
Modified stringBy - The identity that last modified the resource.
- Last
Modified stringBy Type - The type of identity that last modified the resource.
- Created
At string - The timestamp of resource creation (UTC).
- Created
By string - The identity that created the resource.
- Created
By stringType - The type of identity that created the resource.
- Last
Modified stringAt - The timestamp of resource last modification (UTC)
- Last
Modified stringBy - The identity that last modified the resource.
- Last
Modified stringBy Type - The type of identity that last modified the resource.
- created
At String - The timestamp of resource creation (UTC).
- created
By String - The identity that created the resource.
- created
By StringType - The type of identity that created the resource.
- last
Modified StringAt - The timestamp of resource last modification (UTC)
- last
Modified StringBy - The identity that last modified the resource.
- last
Modified StringBy Type - The type of identity that last modified the resource.
- created
At string - The timestamp of resource creation (UTC).
- created
By string - The identity that created the resource.
- created
By stringType - The type of identity that created the resource.
- last
Modified stringAt - The timestamp of resource last modification (UTC)
- last
Modified stringBy - The identity that last modified the resource.
- last
Modified stringBy Type - The type of identity that last modified the resource.
- created_
at str - The timestamp of resource creation (UTC).
- created_
by str - The identity that created the resource.
- created_
by_ strtype - The type of identity that created the resource.
- last_
modified_ strat - The timestamp of resource last modification (UTC)
- last_
modified_ strby - The identity that last modified the resource.
- last_
modified_ strby_ type - The type of identity that last modified the resource.
- created
At String - The timestamp of resource creation (UTC).
- created
By String - The identity that created the resource.
- created
By StringType - The type of identity that created the resource.
- last
Modified StringAt - The timestamp of resource last modification (UTC)
- last
Modified StringBy - The identity that last modified the resource.
- last
Modified StringBy Type - The type of identity that last modified the resource.
Import
An existing resource can be imported using its type token, name, and identifier, e.g.
$ pulumi import azure-native:awsconnector:LogsMetricFilter dqrq /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AwsConnector/logsMetricFilters/{name}
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- Azure Native pulumi/pulumi-azure-native
- License
- Apache-2.0